MySQL Forums
Forum List  »  Backup

Re: Advice on backing up a 2 master system
Posted by: Rick James
Date: July 01, 2012 06:55PM

If clients are writing to both masters, you are asking for trouble. If they happen to insert the same UNIQUE key (esp, AUTO_INCREMENT) on both Masters, replication will hang.

I advise all clients write to only one master in a Dual-Master setup. You need to devise some easy way to easily change all clients to point to the other Master when there is a failover. (Load balancer, VIP, CNAME, environment variable, etc.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Advice on backing up a 2 master system
1342
July 01, 2012 06:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.