yiguolei commented on code in PR #50107: URL: https://github.com/apache/doris/pull/50107#discussion_r2051445943
########## be/src/runtime/workload_group/workload_group.h: ########## @@ -157,16 +156,17 @@ class WorkloadGroup : public std::enable_shared_from_this<WorkloadGroup> { return _memory_limit > 0 ? _total_mem_used > _memory_limit : false; } - Status add_query(TUniqueId query_id, std::shared_ptr<QueryContext> query_ctx) { + Status add_task_resource_ctx(TUniqueId query_id, Review Comment: 直接叫add_resource_ctx 就好了。 未来wg 可能管理的不仅仅是task,还可能包括cache 啥的,此时就跟task 没关系了。 -- 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