I have 2 mysql servers with circular replication set up between them. Doing a slave status check on both servers shows everything is OK. However, when an update on a table on server1 is done, server2 does not sync immediately. Sometimes it will sync after a few minutes. Sometimes it will only sync after mysqld on server2 is restarted.
I have
innodb_flush_log_at_trx_commit = 1
and
sync_binlog = 1
in my my.cnf files.
Any ideas?
sync-binlogmay be the prime suspect.MySQL Documntation on sync-binlog says
I would check your disk controller battery on the Master
I would also recommend using
I wrote about
innodb_flush_methodin the DBA StackExchange