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


##########
cloud/src/recycler/recycler.cpp:
##########
@@ -1651,6 +1741,27 @@ int InstanceRecycler::recycle_tablet(int64_t tablet_id) {
 
     ret = finished ? ret : -1;
 
+    if (ret != 0) { // failed recycle tablet data
+        return ret;
+    }
+
+    // delete all rowset kv in this tablet
+    txn->remove(rs_key0, rs_key1);

Review Comment:
   create a new txn to remove 



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