Uh oh!
There was an error while loading. Please reload this page.
[Improment]Reset workload group's default value - #43942
Conversation
doris-robot
commented
Nov 14, 2024
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
clang-tidy review says "All clean, LGTM! 👍" |
da09ceb to
8aca7c3Compareclang-tidy review says "All clean, LGTM! 👍" |
wangbo
commented
Nov 14, 2024
run buildall |
8aca7c3 to
f6f0fdbCompareclang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 14, 2024
TeamCity be ut coverage result: |
f6f0fdb to
bed6dd9Comparewangbo
commented
Nov 14, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Nov 14, 2024
TeamCity be ut coverage result: |
bed6dd9 to
c9763ebComparewangbo
commented
Nov 15, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
| // 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) { |
There was a problem hiding this comment.
不影响啊,fe的-1可以随便设置。传到be的时候,如果发现是-1,就使用be的默认值(cpu_soft_limit_default_value)啊
doris-robot
commented
Nov 15, 2024
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
1 set cpu_share and memory_limit's default value to -1. 2 unify error message when workload group's value is invalid.
1 set cpu_share and memory_limit's default value to -1. 2 unify error message when workload group's value is invalid.
1 set cpu_share and memory_limit's default value to -1. 2 unify error message when workload group's value is invalid.
1 set cpu_share and memory_limit's default value to -1. 2 unify error message when workload group's value is invalid.
What problem does this PR solve?
1 set cpu_share and memory_limit's default value to -1.
2 unify error message when workload group's value is invalid.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)