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


##########
cloud/src/meta-service/meta_service.cpp:
##########
@@ -2673,6 +2673,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:
   It's not necessary to check lock before removing compaction key



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