wangbo commented on code in PR #43942: URL: https://github.com/apache/doris/pull/43942#discussion_r1843670909
########## be/src/runtime/workload_group/workload_group.cpp: ########## @@ -345,19 +345,19 @@ WorkloadGroupInfo WorkloadGroupInfo::parse_topic_info( // 4 cpu_share uint64_t cpu_share = CgroupCpuCtl::cpu_soft_limit_default_value(); - if (tworkload_group_info.__isset.cpu_share) { + if (tworkload_group_info.__isset.cpu_share && tworkload_group_info.cpu_share > 0) { Review Comment: 不影响啊,fe的-1可以随便设置。传到be的时候,如果发现是-1,就使用be的默认值(cpu_soft_limit_default_value)啊 -- 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