Jibing-Li commented on code in PR #39639:
URL: https://github.com/apache/doris/pull/39639#discussion_r1770716811
##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroupMgr.java:
##########
@@ -336,7 +337,12 @@ public void createWorkloadGroup(CreateWorkloadGroupStmt
stmt) throws DdlExceptio
}
throw new DdlException("workload group " + workloadGroupName +
" already exist");
}
- if (idToWorkloadGroup.size() >= Config.workload_group_max_num) {
+ if (!stmt.isInternal() &&
workloadGroupName.equals(StatisticConstants.STATISTICS_WORKLOAD_GROUP_NAME)) {
Review Comment:
fixed
--
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]