mysql master-slave setup with synchronous replication

Posted by imaginative on Server Fault See other posts from Server Fault or by imaginative
Published on 2009-10-17T01:34:44Z Indexed on 2012/10/31 23:04 UTC
Read the original article Hit count: 347

Filed under:
|

I have a very trivial mysql master->slave setup going on between two servers. The problem is, replication is asynchronous, and this can cause issues (even on a low latency link), if the master server was to crash after a COMMIT before the replication thread from the slave was able to fetch the last bin log.

Is there anyway to force mysql to do synchronous commits so that data consistency is guaranteed in a mysql->slave relationship?

© Server Fault or respective owner

Related posts about mysql

Related posts about mysql-replication