Fix ddl kv mgr deadlock

This commit is contained in:
Hongqin-Li
2023-05-12 14:11:13 +00:00
committed by ob-robot
parent 5177ba45a4
commit 7738dbec19
2 changed files with 2 additions and 22 deletions

View File

@ -594,6 +594,8 @@ int ObTabletDDLKvMgr::online()
tablet_handle,
ObTabletCommon::NO_CHECK_GET_TABLET_TIMEOUT_US))) {
LOG_WARN("get tablet handle failed", K(ret), K(ls_id_), K(tablet_id_));
} else if (OB_FAIL(cleanup())) {
LOG_WARN("failed to cleanup ddl kv mgr", K(ret), KPC(tablet_handle.get_obj()));
} else if (!tablet_handle.get_obj()->get_tablet_meta().ddl_start_scn_.is_valid_and_not_min()) {
LOG_DEBUG("no need to start ddl kv manager", K(ret), "tablet_meta", tablet_handle.get_obj()->get_tablet_meta());
} else {