gavinchou commented on code in PR #50555: URL: https://github.com/apache/doris/pull/50555#discussion_r2067749405
########## be/src/io/cache/block_file_cache.cpp: ########## @@ -2077,6 +2077,17 @@ std::string BlockFileCache::clear_file_cache_directly() { int64_t normal_queue_size = _normal_queue.get_elements_num(cache_lock); int64_t disposible_queue_size = _disposable_queue.get_elements_num(cache_lock); int64_t ttl_queue_size = _ttl_queue.get_elements_num(cache_lock); + + if (config::clear_fd_after_clear_file_cache) { Review Comment: no need an extra config, just release them directly after files are deleted. -- 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