[FEAT MERGE] 备库优化 + is_standby_cluster调用点替换 + service_name

This commit is contained in:
linqiucen
2024-08-22 16:18:56 +00:00
committed by ob-robot
parent 962667c3bd
commit 2ddad4afc0
142 changed files with 5495 additions and 1231 deletions

View File

@ -110,10 +110,9 @@ public:
int ret = OB_SUCCESS;
UNUSED(force_fallback);
bool is_standby_cluster = false;
if (OB_FAIL(guard.reset())) {
SHARE_SCHEMA_LOG(WARN, "fail to reset guard", K(ret));
} else if (OB_FAIL(guard.init(is_standby_cluster))) {
} else if (OB_FAIL(guard.init())) {
SHARE_SCHEMA_LOG(WARN, "fail to init guard", K(ret));
} else {
ObArray<const ObSimpleTenantSchema *> tenant_schemas;