Fix deadlock of ddl kv mgr

This commit is contained in:
Hongqin-Li 2023-02-13 11:14:45 +00:00 committed by ob-robot
parent 68b805d4be
commit 392ae3d831

View File

@ -1042,7 +1042,6 @@ int ObTabletDDLKvMgr::get_ddl_kvs_unlock(const bool frozen_only, ObTablesHandleA
{
int ret = OB_SUCCESS;
kv_handle_array.reset();
ObLatchRGuard guard(lock_, ObLatchIds::TABLET_DDL_KV_MGR_LOCK);
if (IS_NOT_INIT) {
ret = OB_NOT_INIT;
LOG_WARN("ObTabletDDLKvMgr is not inited", K(ret));