[MDEV-5503] Request for option to disable master_binlog_checksum behavior Created: 2014-01-03  Updated: 2014-01-05  Resolved: 2014-01-05

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.3.12, 5.5.34, 10.0.7
Fix Version/s: 5.5.35

Type: Bug Priority: Minor
Reporter: Kolbe Kegel (Inactive) Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-3155 LP:955057 - MariaDB 5.1.55 -> 5.3.5 r... Closed

 Description   

Replication slaves that support binlog checksums try setting master_binlog_checksum on the master, but that fails if the master does not support checkums. This causes a warning to be written to the slave's error log if the the slave is running with log_warnings enabled. See MDEV-3155

There should be an option that disables this behavior on the slave. It is obnoxious to have hundreds of these messages written to the slave's error log and that risks masking legitimate errors that require an administrator's attention.

Perhaps if the slave is running with binlog_checksum=NONE, it should not attempt to set master_binlog_checksum on the master? Or maybe there should be a new option to explicitly disable this behavior on the slave.



 Comments   
Comment by Michael Widenius [ 2014-01-05 ]

What we could easily do is to mask this "expected" error and only show it in the log if one runs with --log-warnings=2 (MariaDB supports many log-warnings levels).

This should solve the issue, and at the same time still allow people to get this error if they would ever need to do more high level debugging (by running with a higher warning level).

I will implement this for next MariaDB 5.5 release.

Comment by Michael Widenius [ 2014-01-05 ]

Fixed by not writing entries to slave log if log_warnings is <=1

Generated at Thu Feb 08 07:04:53 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.