|
|||||||||||
|
Re: Add a replicated DB w/o rebooting the server
From: Oriol Capsada <oriolc(at)voztele.com>
Date: Wed Oct 31 2007 - 11:56:55 EDT
I agree that it's not the end of the world to restart a mysql process, but it would be greater if adding a db to the replication could be done without having to restart it. The real problem is not restarting the slave, the problem is that the master has to be restarted also, as both servers are in circular replication. Here is where the problem starts. I can reboot the backup one with no problem, but how do I reboot the active (which is also the master)? I suppose that the obvious would be:
The problem is that these mysql servers work with realtime information, and the replication is not done in realtime, and we may find inconsistencies like:
At this point my1 does not contain the information of the insert1 because it has been deleted (it was replicated from my2), but it is contained in the my2. Now we have an inconsistency...
Regards,
Rick James wrote:
-- MySQL Replication Mailing List For list archives: http://lists.mysql.com/replication To unsubscribe: http://lists.mysql.com/replication?unsub=lists@pantek.comReceived on Wed Oct 31 11:59:26 2007 This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 00:24:15 EDT |
||||||||||
|
|||||||||||