limit the hold of tenant 500, add ctx_id UNEXPECTED_IN_500 to mark uncertain_hold label

This commit is contained in:
tushicheng
2023-06-19 11:42:13 +00:00
committed by ob-robot
parent 5c33a662ae
commit d06678002e
16 changed files with 82 additions and 28 deletions

View File

@ -1755,6 +1755,11 @@ int ObServer::init_config()
LOG_ERROR("some config setting is not valid", KR(ret));
} else if (OB_FAIL(GMEMCONF.reload_config(config_))) {
LOG_ERROR("reload memory config failed", KR(ret));
#ifdef ENABLE_500_MEMORY_LIMIT
} else if (config_._enable_system_tenant_memory_limit &&
OB_FAIL(ObMallocAllocator::get_instance()->set_500_tenant_limit())) {
LOG_ERROR("set the limit of tenant 500 failed", KR(ret));
#endif
} else if (!is_arbitration_mode() && OB_FAIL(set_running_mode())) {
LOG_ERROR("set running mode failed", KR(ret));
} else {