fix wrong cpu_capacity in __all_virtual_server after cpu_count changing

This commit is contained in:
nroskill
2023-01-06 11:15:32 +00:00
committed by ob-robot
parent 44745724fc
commit 2cfa340452
9 changed files with 9 additions and 61 deletions

View File

@ -246,10 +246,6 @@ int ObServerReloadConfig::operator()()
share::ObTaskController::get().set_log_rate_limit(
GCONF.syslog_io_bandwidth_limit.get_value());
if (nullptr != GCTX.omt_) {
GCTX.omt_->set_workers_per_cpu(GCONF.workers_per_cpu_quota.get_value());
}
get_unis_global_compat_version() = GET_MIN_CLUSTER_VERSION();
lib::g_runtime_enabled = true;