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


##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/QueryQueue.java:
##########
@@ -44,6 +47,12 @@ public class QueryQueue {
     public static final String RUNNING_QUERY_NUM = "running_query_num";
     public static final String WAITING_QUERY_NUM = "waiting_query_num";
 
+    private Thread updatePropThread;

Review Comment:
   我们写一个thread
   1. 遍历所有的workloadgroup
   2. 检查每个workload group 里的query queue的配置和workloadgroup 元数据对比,如果不同,那么就reset 
queue 的设置。



##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/QueryQueue.java:
##########
@@ -44,6 +47,12 @@ public class QueryQueue {
     public static final String RUNNING_QUERY_NUM = "running_query_num";
     public static final String WAITING_QUERY_NUM = "waiting_query_num";
 
+    private Thread updatePropThread;

Review Comment:
   我们写一个thread
   1. 遍历所有的workloadgroup
   2. 检查每个workload group 里的query queue的配置和workloadgroup 元数据对比,如果不同,那么就reset 
queue 的设置。



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