[MDEV-17472] Improving replication reliability with MIXED binlog_format and temporary tables Created: 2018-10-16  Updated: 2018-10-16

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Kenneth Penza Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

binlog_format set to MIXED and temporary tables can break replication, in MariaDB and MySQL versions prior to 8.0.

To avoid replication issues when binlog_format is set to MIXED, slave servers must be restarted using the approach outlined in MySQL 5.7 documentation MySQL5.7Docs: stop SQL apply, monitor usage of temporary tables and restart only when there are no temporary tables on the slave, otherwise replication will break.

MySQL 8.0 fixed this issue MySQL8.0docs, by changing the behaviour of MIXED logging. MIXED logging was changed to switch to ROW logging when temporary tables are used, eliminating replication of temporary tables and possible replication issues.

Given that binlog_format defaults to MIXED since 10.2.4, inclusion of this feature will make replication more resilient with the default settings, improving the user experience.


Generated at Thu Feb 08 08:36:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.