fix sys tenant backlog with cgroup on

This commit is contained in:
zhjc1124
2023-09-12 09:44:10 +00:00
committed by ob-robot
parent ad35d56889
commit cb75499e77
4 changed files with 35 additions and 7 deletions

View File

@ -192,7 +192,7 @@ int ObResourcePlanManager::normalize_cpu_directives(ObPlanDirectiveSet &directiv
cfs_period_us))) {
LOG_WARN("fail get cpu cfs period", K(d), K(ret));
} else {
if (d.utilization_limit_ == 100) {
if (is_sys_tenant(d.tenant_id_) || d.utilization_limit_ == 100) {
// 不限制
d.utilization_limit_ = -1;
} else {