MDEV-13830 Assertion failed: recv_sys->mlog_checkpoint_lsn <= recv_sys->recovered_lsn

There can be multiple MLOG_CHECKPOINT record for the same checkpoint.
During recovery, InnoDB could encounter the previous MLOG_CHECKPOINT
for the checkpoint lsn. So the assertion
mlog_checkpoint_lsn <= recovered_lsn is wrong.
parent 6898eae7
...@@ -2917,8 +2917,9 @@ bool recv_parse_log_recs(lsn_t checkpoint_lsn, store_t* store, ...@@ -2917,8 +2917,9 @@ bool recv_parse_log_recs(lsn_t checkpoint_lsn, store_t* store,
if (lsn == checkpoint_lsn) { if (lsn == checkpoint_lsn) {
if (recv_sys->mlog_checkpoint_lsn) { if (recv_sys->mlog_checkpoint_lsn) {
ut_ad(recv_sys->mlog_checkpoint_lsn /* There can be multiple
<= recv_sys->recovered_lsn); MLOG_CHECKPOINT lsn for the
same checkpoint. */
break; break;
} }
recv_sys->mlog_checkpoint_lsn recv_sys->mlog_checkpoint_lsn
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment