Skip to content

Commit 0caeb70

Browse files
obdevwyfanxiaofkuner
authored andcommitted
Prevent standby replay deadlock by using STRICT_BARRIER for DDL_TABLE_FORK_START_LOG
Co-authored-by: wyfanxiao <wyfanxiao@163.com> Co-authored-by: fkuner <784819644@qq.com>
1 parent dbb8b2a commit 0caeb70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rootserver/fork_table/ob_fork_table_task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ int ObForkTableTask::build_data(const ObDDLTaskStatus next_task_status)
425425
LOG_WARN("fail to try schedule fork dags", K(ret));
426426
} else if (OB_FAIL(ObDDLRedoLogWriter::write_auto_fork_log(SYS_LS,
427427
ObDDLClogType::DDL_TABLE_FORK_START_LOG,
428-
logservice::ObReplayBarrierType::PRE_BARRIER,
428+
logservice::ObReplayBarrierType::STRICT_BARRIER,
429429
start_log,
430430
start_log_scn))) {
431431
LOG_WARN("fail to write table fork start log", K(ret), K(start_log));

0 commit comments

Comments
 (0)