subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Kadel-Garcia <>
Subject Re: SYNC process
Date Fri, 29 Mar 2013 00:47:41 GMT
On Thu, Mar 28, 2013 at 10:34 AM, Somashekarappa, Anup
<> wrote:
> Hello Team,
> We do have master-slave configuration for SVN and we were planning for
> Disaster Recovery plan.
> We need some information regarding this process.
> We have created a repository on master node.
> Initialized the slave node with master
> And through post-commit we are using svn sync process for synchronization.It
> is working fine.
> Now if the master server is down,we have direct users to do the commit on
> slave node.

You have to shoot the old master in the head and re-establish the
master slave roles, reversed. Otherwise, you will encounter
"split-brain" madness. There are nice commercial solutions from
Wandisco that address precisely this situation: I'd highly recommend
using them instead of trying to brew this on your own, because
synchronizing and replicating other communications and failing over
gracefully can get quite tricky, and they've convinced me from their
explanations here that they're doing it correctly.

View raw message