This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new 60eb992806 [fix][branch-2.0](memory) Fix memory daemon thread grace exit #24827 60eb992806 is described below commit 60eb992806629f9a812586cc5e521c5de42ffdb5 Author: Xinyi Zou <zouxiny...@gmail.com> AuthorDate: Sat Sep 23 22:51:17 2023 +0800 [fix][branch-2.0](memory) Fix memory daemon thread grace exit #24827 master rewrite static vairables construction & destructor order, in #24029, which is expected to solve this problem. --- be/src/common/daemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/common/daemon.cpp b/be/src/common/daemon.cpp index 612810d237..c023d50d49 100644 --- a/be/src/common/daemon.cpp +++ b/be/src/common/daemon.cpp @@ -198,7 +198,7 @@ void Daemon::memory_maintenance_thread() { doris::MemInfo::refresh_proc_mem_no_allocator_cache(); // Update and print memory stat when the memory changes by 256M. - if (abs(last_print_proc_mem - PerfCounters::get_vm_rss()) > 268435456) { + if (abs(last_print_proc_mem - PerfCounters::get_vm_rss()) > 268435456 && !k_doris_exit) { last_print_proc_mem = PerfCounters::get_vm_rss(); doris::MemTrackerLimiter::enable_print_log_process_usage(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org