ignore old ddl commit clog
This commit is contained in:
@ -27,7 +27,7 @@ enum class ObDDLClogType : int64_t
|
|||||||
{
|
{
|
||||||
UNKNOWN = -1,
|
UNKNOWN = -1,
|
||||||
DDL_REDO_LOG = 0x1,
|
DDL_REDO_LOG = 0x1,
|
||||||
// DDL_COMMIT_LOG = 0x2, // deprecated
|
OLD_DDL_COMMIT_LOG = 0x2, // deprecated, only compatable use
|
||||||
DDL_TABLET_SCHEMA_VERSION_CHANGE_LOG = 0x10,
|
DDL_TABLET_SCHEMA_VERSION_CHANGE_LOG = 0x10,
|
||||||
DDL_START_LOG = 0x20,
|
DDL_START_LOG = 0x20,
|
||||||
DDL_COMMIT_LOG = 0x40,// rename from DDL_PREPARE_LOG
|
DDL_COMMIT_LOG = 0x40,// rename from DDL_PREPARE_LOG
|
||||||
|
@ -159,6 +159,9 @@ int ObLSDDLLogHandler::replay(const void *buffer,
|
|||||||
ret = replay_ddl_redo_log_(log_buf, buf_size, tmp_pos, log_scn);
|
ret = replay_ddl_redo_log_(log_buf, buf_size, tmp_pos, log_scn);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case ObDDLClogType::OLD_DDL_COMMIT_LOG: {
|
||||||
|
break; // ignore the old ddl commit log
|
||||||
|
}
|
||||||
case ObDDLClogType::DDL_COMMIT_LOG: {
|
case ObDDLClogType::DDL_COMMIT_LOG: {
|
||||||
ret = replay_ddl_commit_log_(log_buf, buf_size, tmp_pos, log_scn);
|
ret = replay_ddl_commit_log_(log_buf, buf_size, tmp_pos, log_scn);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user