add cases for major refresh mv

This commit is contained in:
fforkboat 2024-11-14 13:44:35 +00:00 committed by ob-robot
parent 2136166b9a
commit da74655612
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);