[CP] Fix performance reduction and reduce the log frequency for wrs and hotspot update

This commit is contained in:
Naynahs
2023-10-08 08:10:19 +00:00
committed by ob-robot
parent 9ad9da08b3
commit b48202aa11
6 changed files with 20 additions and 10 deletions

View File

@ -1049,6 +1049,7 @@ int ObServer::start()
const int64_t start_ts = ObTimeUtility::current_time();
int64_t schema_refreshed_ts = 0;
const int64_t expire_time = start_ts + MAX_CHECK_TIME;
tenant_ids.set_max_print_count(512);
if (OB_FAIL(multi_tenant_.get_mtl_tenant_ids(tenant_ids))) {
FLOG_ERROR("get mtl tenant ids fail", KR(ret));