wangbo commented on code in PR #37559:
URL: https://github.com/apache/doris/pull/37559#discussion_r1675653391


##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/QueryQueue.java:
##########
@@ -126,30 +138,47 @@ public QueueToken getToken() throws UserException {
         }
     }
 
-    public void releaseAndNotify(QueueToken releaseToken) {
+    public void releaseAndNotify(QueueToken releaseToken, AdmissionControl ac) 
{

Review Comment:
   queryQueue每次更新属性得拷贝一次,要作为成员变量的话拷贝那块也得动,改那个地方比较麻烦。所以就先每次都get吧,



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