Skip to content

Commit

Permalink
Merge pull request #1523 from altmannmarcelo/PXB-3168-8.0
Browse files Browse the repository at this point in the history
Fixed PXB-3168 - Under high write load, backup fails with "log block …
  • Loading branch information
altmannmarcelo authored Nov 24, 2023
2 parents f381b30 + 181da2a commit 6beb4b4
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 6beb4b4

Please sign in to comment.