yiguolei commented on code in PR #42006: URL: https://github.com/apache/doris/pull/42006#discussion_r1827186267
########## fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroupMgr.java: ########## @@ -375,44 +382,84 @@ public void createWorkloadGroup(CreateWorkloadGroupStmt stmt) throws DdlExceptio LOG.info("Create workload group success: {}", workloadGroup); } + public void createInternalWorkloadGroup() { + Map<String, String> properties = Maps.newHashMap(); + // 100 is cgroup v2 default cpu_share value + properties.put(WorkloadGroup.CPU_SHARE, "100"); + properties.put(WorkloadGroup.INTERNAL_TYPE, String.valueOf(INTERNAL_TYPE_ID)); Review Comment: 如果我们再加一个cache的workload group,那么这里怎么写呢? -- 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