mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
Problem was that in a circular replication setup the master remembers position to events it has generated itself when reading from a slave. If there are no new events in the queue from the slave, a Gtid_list_log_event is generated to remember the last skipped event. The problem happens if there is a network delay and we generate a Gtid_list_log_event in the middle of the transaction, in which case there will be an implicit comment and a new transaction with serverid=0 will be logged. The fix was to not generate any Gtid_list_log_events in the middle of a transaction.
How to run. =========== ./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed