| Bug #73727 | Cannot do positions sync when auto_position is ON | ||
|---|---|---|---|
| Submitted: | 26 Aug 2014 12:59 | Modified: | 16 Feb 2015 15:46 |
| Reporter: | Venkatesh Duggirala | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.7.2 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[26 Aug 2014 12:59]
Venkatesh Duggirala
[16 Feb 2015 15:46]
David Moss
Thanks for your feedback. The following was added to the 5.7.6 release notes:
In a replication topology where:
the slave had GTID_MODE=ON and MASTER_AUTO_POSITION=1
the master had GTID_MODE=ON and had not executed any transactions since it was started
if the slave used the MASTER_POS_WAIT function to wait until it had received the full binary log from the master while the master had not executed any transactions, then the MASTER_POS_WAIT function would never finish, or would time out. This was caused because after a server restart, the master's binary log ends with a Previous_gtids_log_event, but this event was not being replicated, so the slave was not made aware of the master's binary log position. The fix ensures that the Previous_gtids_log_event is replicated correctly, so that the slave becomes aware of the correct binary log position on the master, ensuring that the MASTER_POS_WAIT function can finish.
