Skip to content

Commit 78bb953

Browse files
committed
MDEV-25456 MariaBackup logs "[ERROR]" on Invalid log block checksum
Fix is to changed message to be [WARNING] for backup
1 parent f6542a7 commit 78bb953

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/innobase/log/log0recv.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,8 @@ log_group_read_log_seg(
967967
DBUG_EXECUTE_IF("log_checksum_mismatch", { cksum = crc + 1; });
968968

969969
if (crc != cksum) {
970-
ib::error() << "Invalid log block checksum."
970+
ib::error_or_warn(srv_operation == SRV_OPERATION_BACKUP)
971+
<< "Invalid log block checksum."
971972
<< " block: " << block_number
972973
<< " checkpoint no: "
973974
<< log_block_get_checkpoint_no(buf)

0 commit comments

Comments
 (0)