yiguolei commented on code in PR #41264:
URL: https://github.com/apache/doris/pull/41264#discussion_r1774424386


##########
be/src/runtime/workload_group/workload_group_manager.cpp:
##########
@@ -377,8 +380,10 @@ void WorkloadGroupMgr::handle_paused_queries() {
             }
             if (query_ctx->is_cancelled()) {
                 LOG(INFO) << "query: " << print_id(query_ctx->query_id())
-                          << "was canceled, remove from paused list";
-                query_it = queries_list.erase(query_it);
+                          << " was canceled, remove from paused list";
+                if (query_it->elapsed_time() > TIMEOUT_IN_QUEUE) {

Review Comment:
   这里为什么要判断timeout?



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