Commit 78bb9533 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-25456 MariaBackup logs "[ERROR]" on Invalid log block checksum

Fix is to changed message to be [WARNING] for backup
parent f6542a7a
...@@ -967,7 +967,8 @@ log_group_read_log_seg( ...@@ -967,7 +967,8 @@ log_group_read_log_seg(
DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; }); DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; });
if (crc != cksum) { if (crc != cksum) {
ib::error() << "Invalid log block checksum." ib::error_or_warn(srv_operation == SRV_OPERATION_BACKUP)
<< "Invalid log block checksum."
<< " block: " << block_number << " block: " << block_number
<< " checkpoint no: " << " checkpoint no: "
<< log_block_get_checkpoint_no(buf) << log_block_get_checkpoint_no(buf)
......
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