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


##########
be/src/runtime/task_group/task_group.h:
##########
@@ -141,6 +141,16 @@ class TaskGroup : public 
std::enable_shared_from_this<TaskGroup> {
         return _memory_limit > 0;
     }
 
+    void add_query(TUniqueId query_id) { _query_id_set.insert(query_id); }

Review Comment:
   Does these method have concurrent problem? If there are many queries to be 
added to the group?



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