fix recovery core

This commit is contained in:
maosy
2023-07-04 04:18:18 +00:00
committed by ob-robot
parent 26ed5c0da6
commit a44e6d2fc4
3 changed files with 55 additions and 44 deletions

View File

@ -125,6 +125,7 @@ void ObLSRecoveryReportor::run2()
ObThreadCondGuard guard(get_cond());
const uint64_t meta_tenant_id = gen_meta_tenant_id(tenant_id_);
while (!stop_) {
ObCurTraceId::init(GCONF.self_addr_);
if (OB_ISNULL(GCTX.schema_service_)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("schema service is empty", KR(ret));