xinyiZzz commented on code in PR #47462: URL: https://github.com/apache/doris/pull/47462#discussion_r1964908768
########## be/src/common/daemon.cpp: ########## @@ -322,15 +322,18 @@ void Daemon::memory_maintenance_thread() { doris::ExecEnv::GetInstance()->workload_group_mgr()->do_sweep(); doris::ExecEnv::GetInstance()->workload_group_mgr()->refresh_wg_weighted_memory_limit(); - // step 7. Analyze blocking queries. + // step 7: handle paused queries(caused by memory insufficient) + doris::ExecEnv::GetInstance()->workload_group_mgr()->handle_paused_queries(); + + // step 8. Analyze blocking queries. Review Comment: Remove [step 8. Analyze blocking queries.] The TODO [step 8. Analyze blocking queries.] here and the newly added [step 7: handle paused queries (caused by insufficient memory)] have the same meaning. -- 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