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


##########
be/src/io/cache/block_file_cache.cpp:
##########
@@ -562,7 +561,7 @@ std::string BlockFileCache::clear_file_cache_async() {
 
 void BlockFileCache::recycle_deleted_blocks() {
     using namespace std::chrono;
-    static int remove_batch = 100;
+    static int remove_batch = 500;

Review Comment:
   keep it 100, and make the `cond.wait_for(cache_lock, 
std::chrono::microseconds(100));` configurable to do throttle.



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