yiguolei commented on code in PR #40344: URL: https://github.com/apache/doris/pull/40344#discussion_r1743147711
########## be/src/common/daemon.cpp: ########## @@ -396,6 +472,34 @@ void Daemon::je_purge_dirty_pages_thread() const { } while (true); } +void Daemon::cache_adjust_capacity_thread() { + std::unique_ptr<RuntimeProfile> profile = std::make_unique<RuntimeProfile>(""); Review Comment: 这个应该放到do 里面做为一个局部变量,否则可能得每次清理 -- 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