diff --git a/src/share/ob_debug_sync_point.h b/src/share/ob_debug_sync_point.h index 946b36113..ca2be552a 100755 --- a/src/share/ob_debug_sync_point.h +++ b/src/share/ob_debug_sync_point.h @@ -533,6 +533,7 @@ class ObString; ACT(BEFORE_TABLET_MDS_FLUSH,)\ ACT(BEFORE_CHECKPOINT_TASK,)\ ACT(AFTER_EMPTY_SHELL_TABLET_CREATE,)\ + ACT(AFTER_MACRO_BLOCK_WRITER_DDL_CALLBACK_WAIT,)\ ACT(AFTER_RESTORE_TABLET_TASK,)\ ACT(BEFORE_TABLET_GC,)\ ACT(AFTER_TRANSFER_BLOCK_AND_KILL_TX,)\ diff --git a/src/storage/ddl/ob_ddl_redo_log_writer.cpp b/src/storage/ddl/ob_ddl_redo_log_writer.cpp index 4b4c24e93..152949efc 100644 --- a/src/storage/ddl/ob_ddl_redo_log_writer.cpp +++ b/src/storage/ddl/ob_ddl_redo_log_writer.cpp @@ -1225,6 +1225,8 @@ int ObDDLRedoLogWriter::wait_macro_block_log_finish( LOG_WARN("fail to wait io finish", K(ret)); } else if (OB_FAIL(ddl_redo_handle_.cb_->get_ret_code())) { LOG_WARN("ddl redo callback executed failed", K(ret)); + } else { + DEBUG_SYNC(AFTER_MACRO_BLOCK_WRITER_DDL_CALLBACK_WAIT); } ddl_redo_handle_.reset(); return ret;