MDEV-31851 After crash recovery, undo tablespace fails to open

recv_recovery_from_checkpoint_start(): InnoDB should add the
redo log block header + trailer size while checking the	log
sequence number in log file with log sequence number in the
system tablespace first page.
parent 2d6dc65d
...@@ -3559,7 +3559,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn) ...@@ -3559,7 +3559,8 @@ recv_recovery_from_checkpoint_start(lsn_t flush_lsn)
} else if (checkpoint_lsn != flush_lsn) { } else if (checkpoint_lsn != flush_lsn) {
ut_ad(!srv_log_file_created); ut_ad(!srv_log_file_created);
if (checkpoint_lsn + sizeof_checkpoint < flush_lsn) { if (checkpoint_lsn + sizeof_checkpoint
+ log_sys.framing_size() < flush_lsn) {
ib::warn() ib::warn()
<< "Are you sure you are using the right " << "Are you sure you are using the right "
<< LOG_FILE_NAME << LOG_FILE_NAME
......
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