yiguolei commented on code in PR #42006: URL: https://github.com/apache/doris/pull/42006#discussion_r1836527675
########## fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroupMgr.java: ########## @@ -71,6 +72,12 @@ public class WorkloadGroupMgr extends MasterDaemon implements Writable, GsonPost public static final Long DEFAULT_GROUP_ID = 1L; + public static final String INTERNAL_GROUP_NAME = "_internal"; + + // internal_type_id could be converted to workload group id when Workload published to BE + // refer WorkloadGroup.toTopicInfo + public static final Long INTERNAL_TYPE_ID = Long.valueOf(TWorkloadType.INTERNAL.getValue()); Review Comment: 把这种定义删掉,我们直接使用Thrfit 里的定义就好了。我们有这种定义,会导致我们每次增加一个类型,很繁琐。 -- 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