diff --git a/src/rootserver/ob_common_ls_service.cpp b/src/rootserver/ob_common_ls_service.cpp index 6f80233304..35ebeebfb1 100755 --- a/src/rootserver/ob_common_ls_service.cpp +++ b/src/rootserver/ob_common_ls_service.cpp @@ -92,7 +92,7 @@ void ObCommonLSService::do_work() } } - if (REACH_TIME_INTERVAL(1 * 1000 * 1000)) { + if (REACH_TENANT_TIME_INTERVAL(1 * 1000 * 1000)) { ret = OB_SUCCESS;//ignore error if (OB_FAIL(try_update_sys_ls_primary_zone_())) { LOG_WARN("failed to update sys ls primary zone", KR(ret)); diff --git a/src/rootserver/ob_recovery_ls_service.cpp b/src/rootserver/ob_recovery_ls_service.cpp index c6751c9692..83045cd07d 100644 --- a/src/rootserver/ob_recovery_ls_service.cpp +++ b/src/rootserver/ob_recovery_ls_service.cpp @@ -104,7 +104,7 @@ void ObRecoveryLSService::do_work() idle_time_us = 10 * 1000 * 1000;//10s } } - if (REACH_TIME_INTERVAL(10 * 1000 * 1000)) { // every 10 second + if (REACH_TENANT_TIME_INTERVAL(10 * 1000 * 1000)) { // every 10 second (void)try_tenant_upgrade_end_(); } LOG_INFO("[RECOVERY_LS_SERVICE] finish one round", KR(ret),