zhannngchen commented on code in PR #49223:
URL: https://github.com/apache/doris/pull/49223#discussion_r2035420595


##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -2673,6 +2885,19 @@ void MetaServiceImpl::remove_delete_bitmap_update_lock(
         msg = "failed to init txn";
         return;
     }
+    std::string lock_key =
+            meta_delete_bitmap_update_lock_key({instance_id, 
request->table_id(), -1});
+    std::string lock_val;
+    DeleteBitmapUpdateLockPB lock_info;
+    if (!check_delete_bitmap_lock(code, msg, ss, txn, instance_id, 
request->table_id(),

Review Comment:
   Why do we need to add a lock check here?



-- 
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