diff --git a/src/rootserver/ob_ddl_service.cpp b/src/rootserver/ob_ddl_service.cpp index e427664fb..6fcb3527e 100755 --- a/src/rootserver/ob_ddl_service.cpp +++ b/src/rootserver/ob_ddl_service.cpp @@ -21855,6 +21855,7 @@ int ObDDLService::swap_orig_and_hidden_table_state(obrpc::ObAlterTableArg &alter LOG_WARN("mview version is old", KR(ret), K(alter_table_arg.mview_refresh_info_), K(mview_info)); } else { + DEBUG_SYNC(BEFORE_MV_FINISH_COMPLETE_REFRESH); mview_info.set_last_refresh_scn(refresh_scn_val); mview_info.set_last_refresh_type(share::schema::ObMVRefreshType::COMPLETE); mview_info.set_last_refresh_date(start_time); diff --git a/src/share/ob_debug_sync_point.h b/src/share/ob_debug_sync_point.h index c168fe971..787fa9cc1 100755 --- a/src/share/ob_debug_sync_point.h +++ b/src/share/ob_debug_sync_point.h @@ -672,6 +672,7 @@ class ObString; ACT(BEFOR_PREPARE_CREATE_TFS_INDEX_WORD_DOC,)\ ACT(BEFOR_PREPARE_CREATE_TFS_INDEX_DOC_WORD,)\ ACT(AFTER_JOIN_LEARNER_LIST_FOR_SPECIFIED_SERVER,)\ + ACT(BEFORE_MV_FINISH_COMPLETE_REFRESH,)\ ACT(MAX_DEBUG_SYNC_POINT,) DECLARE_ENUM(ObDebugSyncPoint, debug_sync_point, OB_DEBUG_SYNC_POINT_DEF);