mymeiyi commented on code in PR #53086:
URL: https://github.com/apache/doris/pull/53086#discussion_r2212048178


##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -2981,6 +2981,45 @@ bool 
MetaServiceImpl::get_mow_tablet_stats_and_meta(MetaServiceCode& code, std::
     return true;
 }
 
+static bool clear_all_mow_tablet_job_keys(MetaServiceCode& code, std::string& 
msg,
+                                          std::stringstream& ss, 
std::unique_ptr<Transaction>& txn,
+                                          std::string& instance_id, int64_t 
table_id,
+                                          int64_t lock_id) {
+    std::string key0 = mow_tablet_job_key({instance_id, table_id, 0});
+    std::string key1 = mow_tablet_job_key({instance_id, table_id + 1, 0});
+    MowTabletJobPB mow_tablet_job;
+    std::unique_ptr<RangeGetIterator> it;
+    int64_t job_key_num = 0;

Review Comment:
   `txn->remove(key0, key1)`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to