提交 8f2a13e2 编写于 作者: M maosy 提交者: ob-robot

fix primary_zone not adjust

上级 86bdd489
......@@ -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));
......
......@@ -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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册