Bug #71575 | Master logs two consecutive GTIDs causing slaves to miss the first GTID | ||
---|---|---|---|
Submitted: | 4 Feb 2014 3:59 | Modified: | 25 Feb 2015 4:54 |
Reporter: | Ben Krug | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[4 Feb 2014 3:59]
Ben Krug
[30 Mar 2014 9:10]
Santosh Praneeth Banda
Here is the repro case for this bug. Enable GTID on both master and slave. Generate a transaction on master whose size is exactly binlog_cache_size bytes (32768 bytes). See consecutive gtids are logged on master and slave misses data. It seems the fix in http://bazaar.launchpad.net/~mysql/mysql-server/5.6/revision/5721 solves this issue.
[25 Feb 2015 4:54]
MySQL Verification Team
Thank you for confirming. This issue has been fixed as part of internal Bug #17842137 and with change log entry as in 5.6.16 http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html: "When the binary log I/O cache grew to exactly 32768 bytes and the current transaction was preceded by a transaction whose size was greater than 32768 bytes, events could be corrupted when written into the binary log. (Bug #17842137)".