The LOST_EVENTS incident is reported in the MySQL binary log in two cases. Each time the Slave will try to tell you why. Here is an example output of the SHOW SLAVE STATUS done on the Slave MySQL Cluster (bit edited to fit):
mysql> SHOW SLAVE STATUS\GThe message can be one of the following (MySQL Cluster 7.0.7):
Last_Errno: 1590
Last_Error: The incident LOST_EVENTS occured on the master.
Message: mysqld startup
- mysqld startup: SQL Node (mysqld) acting as Master was started.
- cluster disconnect: SQL Node acting as Master lost connection to its data nodes.
cd /where/binlog/are/
for f in `ls binglog.*`;
do
echo $f
mysqlbinlog $f | grep LOST_EVENTS
done

0 comments:
Post a Comment