yiguolei commented on code in PR #49884:
URL: https://github.com/apache/doris/pull/49884#discussion_r2035057510
##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroupMgr.java:
##########
@@ -670,4 +656,62 @@ public ProcResult fetchResult(UserIdentity
currentUserIdentity) {
return result;
}
}
+
+
+ public List<WorkloadGroup> getOldWorkloadGroup() {
+ List<WorkloadGroup> oldWgList = Lists.newArrayList();
+ readLock();
+ try {
+ for (Map.Entry<Pair<String, String>, WorkloadGroup> entry :
nameToWorkloadGroup.entrySet()) {
+ if (entry.getKey().first == EMPTY_COMPUTE_GROUP) {
Review Comment:
java 里一定不要使用 ==
要使用equals
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]