revise the error code loss

This commit is contained in:
SevenJ-swj
2023-07-27 04:54:04 +00:00
committed by ob-robot
parent e91a059c09
commit fbdc721784
14 changed files with 26 additions and 24 deletions

View File

@ -216,7 +216,7 @@ int ObLogRestoreProxyUtil::init(const uint64_t tenant_id,
} else if (OB_FAIL(server_prover_.init(server_list))) {
LOG_WARN("server_prover_ init failed", K(tenant_id), K(server_list));
} else if (FALSE_IT(connection_.set_server_provider(&server_prover_))) {
} else if (TG_CREATE_TENANT(lib::TGDefIDs::LogMysqlPool, tg_id_)) {
} else if (OB_FAIL(TG_CREATE_TENANT(lib::TGDefIDs::LogMysqlPool, tg_id_))) {
LOG_ERROR("create connection pool timer pool failed");
} else if (OB_FAIL(TG_START(tg_id_))) {
LOG_ERROR("TG_START failed");