Fix ddl kv mgr deadlock(2)
This commit is contained in:
parent
5e0f5e4e12
commit
f30eb228ce
@ -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_) {
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user