Name: Anonymous 2005-06-20 4:07
Anonymous might need to do dual-master replication (with MySQL's circular replication feature). Anybody can share his/her experience with this?
Anonymous read a solution for possible issues with AUTO_INCREMENT values (setting them really high in one of the server so they won't collide), but what if each server gets to execute the following exactly at the same time?
Server 1: UPDATE table SET col='X' WHERE col='B'
Server 2: UPDATE table SET col='Z' WHERE col='X'
If Anonymous is not mistaken, this would be executed in reverse order by each server and would end up with different data in the table. Any light on this?
Anonymous read a solution for possible issues with AUTO_INCREMENT values (setting them really high in one of the server so they won't collide), but what if each server gets to execute the following exactly at the same time?
Server 1: UPDATE table SET col='X' WHERE col='B'
Server 2: UPDATE table SET col='Z' WHERE col='X'
If Anonymous is not mistaken, this would be executed in reverse order by each server and would end up with different data in the table. Any light on this?