Recently I upgraded some MySQL databases from 5.6 to 5.7, but -- for boring reasons unique to my environment -- I had to leave one replica on version 5.6. I knew there was a chance that the 5.7 -> 5.6 replication wouldn't work, but I decided to try it out to see if (and why) it would fail. Once I upgraded the master, replication failed, so I checked the error log on the replica and found these messages:
[ERROR] Slave I/O: Found a Gtid_log_event or
Previous_gtids_log_event when @@GLOBAL.GTID_MODE = OFF.
Error_code: 1784 [ERROR] Slave I/O: Relay log write failure:
could not queue event from master, Error_code: 1595
The error surprised me a little bit since I'm not using GTIDs in that replication topology. I asked around a bit, and Kenny Gryp hypothesized that I might be experiencing MySQL bug #74683, which was fixed in version 5.6.23. Since my …
[Read more]