add case for migrate lob ddl with data tablet checkpoint

This commit is contained in:
simonjoylet
2024-02-10 10:26:49 +00:00
committed by ob-robot
parent 663f9c40a6
commit 8d99977e94
2 changed files with 7 additions and 0 deletions

View File

@ -325,6 +325,7 @@ class ObString;
ACT(DDL_REDEFINITION_HOLD_SNAPSHOT,)\
ACT(DDL_REDEFINITION_WRITE_BARRIER_LOG,)\
ACT(BEFORE_DDL_TABLE_MERGE_TASK,)\
ACT(BEFORE_LOB_META_TABELT_DDL_MERGE_TASK,)\
ACT(TABLE_REDEFINITION_REPLICA_BUILD,)\
ACT(TABLE_REDEFINITION_COPY_TABLE_INDEXES,)\
ACT(TABLE_REDEFINITION_COPY_TABLE_FOREIGN_KEYS,)\

View File

@ -288,6 +288,12 @@ int ObDDLTableMergeTask::process()
LOG_WARN("get ddl sstable handles failed", K(ret));
} else {
DEBUG_SYNC(BEFORE_DDL_TABLE_MERGE_TASK);
#ifdef ERRSIM
if (GCONF.errsim_test_tablet_id.get_value() > 0 && merge_param_.tablet_id_.id() == GCONF.errsim_test_tablet_id.get_value()) {
LOG_INFO("test tablet ddl merge start", K(ret), K(merge_param_));
DEBUG_SYNC(BEFORE_LOB_META_TABELT_DDL_MERGE_TASK);
}
#endif
#ifdef ERRSIM
static int64_t counter = 0;
counter++;