Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.0.35-30 #1525

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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