gavinchou commented on code in PR #43509:
URL: https://github.com/apache/doris/pull/43509#discussion_r1833946075


##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -1923,11 +1925,37 @@ void 
MetaServiceImpl::get_delete_bitmap(google::protobuf::RpcController* control
         std::unique_ptr<RangeGetIterator> it;
         int64_t last_ver = -1;
         int64_t last_seg_id = -1;
+        int64_t round = 0;
         do {
-            err = txn->get(start_key, end_key, &it);
+#ifdef UNIT_TEST

Review Comment:
   use syncpoint instead of MACRO, or change 
config::max_get_delete_bitmap_retry_times before testing
   ```
   int n = 10000;
   syncpoint(&n);
   err = txn->get(start_key, end_key, &it, true, n);
   ```



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to