Skip to content

Commit

Permalink
Merge pull request #1525 from percona/release-8.0.35-30
Browse files Browse the repository at this point in the history
Release 8.0.35-30
  • Loading branch information
adivinho authored Dec 4, 2023
2 parents f381b30 + 6beb4b4 commit ef0916b
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions storage/innobase/xtrabackup/src/redo_log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -519,17 +519,8 @@ ssize_t Redo_Log_Reader::scan_log_recs_8030(byte *buf, bool is_last,

if (block_header.m_hdr_no != expected_hdr_no && checksum_is_ok) {
/* old log block, do nothing */
if (block_header.m_hdr_no < expected_hdr_no) {
*finished = true;
break;
}
xb::error() << "log block numbers mismatch:";
xb::error() << "expected log block no. " << expected_hdr_no
<< ", but got no. " << block_header.m_hdr_no
<< " from the log file.";

return (-1);

*finished = true;
break;
} else if (!checksum_is_ok) {
/* Garbage or an incompletely written log block */
xb::warn() << "Log block checksum mismatch (block no "
Expand Down

0 comments on commit ef0916b

Please sign in to comment.