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


##########
cloud/src/recycler/recycler.cpp:
##########
@@ -1146,10 +1197,59 @@ int InstanceRecycler::recycle_partitions() {
                 partition_version_keys.push_back(partition_version_key(
                         {instance_id_, part_pb.db_id(), part_pb.table_id(), 
partition_id}));
             }
+            metrics_context.report();
         }
         return ret;
     };
 
+    // for calculate the total num or bytes of recyled objects
+    auto scan_and_statistics = [&, this](std::string_view k, std::string_view 
v) -> int {

Review Comment:
   单独拆出来成一个函数,让可以通过http 调用触发 



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