Fix ddl kv mgr deadlock(2)

This commit is contained in:
Hongqin-Li 2023-02-14 04:44:44 +00:00 committed by ob-robot
parent 5e0f5e4e12
commit f30eb228ce
2 changed files with 0 additions and 2 deletions

View File

@ -183,7 +183,6 @@ int ObDDLMacroBlockClogCb::on_success()
ObDDLMacroBlock macro_block;
ObLSHandle ls_handle;
ObTabletHandle tablet_handle;
ddl_kv_mgr_handle_.get_obj()->unlock(lock_tid_); // unlock first, because set_macro_block need to acquire this lock
{
ObSpinLockGuard data_buffer_guard(data_buffer_lock_);
if (is_data_buffer_freed_) {

View File

@ -637,7 +637,6 @@ int ObDDLRedoLogWriter::write(
} else {
handle.cb_ = cb;
cb = nullptr;
lock_tid = 0;
handle.scn_ = scn;
LOG_INFO("submit ddl redo log succeed", K(lsn), K(base_scn), K(scn));
}