ignore task expired when replay ddl start log.

This commit is contained in:
obdev
2023-02-07 00:31:40 +08:00
committed by ob-robot
parent 0c07d1d29d
commit f981449258

View File

@ -81,7 +81,11 @@ int ObDDLRedoLogReplayer::replay_start(const ObDDLStartLog &log, const SCN &scn)
log.get_cluster_version(),
log.get_execution_id(),
SCN::min_scn()/*checkpoint_scn*/))) {
LOG_WARN("start ddl log failed", K(ret), K(log), K(scn));
if (OB_TASK_EXPIRED != ret) {
LOG_WARN("start ddl log failed", K(ret), K(log), K(scn));
} else {
ret = OB_SUCCESS; // ignored expired ddl start log
}
} else {
LOG_INFO("succeed to replay ddl start log", K(ret), K(log), K(scn));
}