Using MySQL 5.6.13 under CentOS 6.4, I had a replication failure
on one master/slave topology because the master binary log had
the following entry that was intentionally written by the MySQL
server.
$ mysqlbinlog --start-position=244670849 mysql-bin.000029
...
# at 244670849
#131028 19:31:38 server id 39 end_log_pos 244670906 CRC32 0xc5d084ec
# Incident: LOST_EVENTS
RELOAD DATABASE; # Shall generate syntax error
# at 244670906
...
The question is why? I do not know the answer. Searching online
indicates this can occur in a MySQL Cluster environment, and can
occur around the use of GRANT statements. Neither of these
situations are applicable here. This site runs 4 different
master/slave topologies all running the same version, and this
has been the only occurrence.
The message, if taken literally could indicate that the master
server failed to write all events to the master binary log, but
instead of reporting any …
[Read more]