[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What's the current status for subversion replication?

From: Campbell Allan <campbell.allan_at_sword-ciboodle.com>
Date: Wed, 11 Aug 2010 10:44:36 +0100

On Wednesday 11 Aug 2010, Ryan Schmidt wrote:
> On Aug 11, 2010, at 02:46, Steven Woody wrote:
> > What's the current status for subversion servers replication? Does it
> > allow read/write on both master and slaver sides? Is it stable enough
> > to put in real life use? I plan to do it for supporting concurrent
> > development in different GEO locations, what is the right manual I
> > should go to read, is it the "SVN Book"?
> The software the Subversion project provides for this task is called
> svnsync. All writes occur on the master; the slaves are read-only. But you
> can set up a write-through proxy so that people who check out from a slave
> and try to commit will be transparently redirected to the master.

This is pretty easy to set up too, the documentation is very clear about this.
I've not looked at it the last few months but I did come across a couple of
issues. One is easily worked around, the other not so easy but will not
affect everyone.

Svnsync does not automatically pick up on changes to revision properties so
the post-revprop-change hook of the master needs to deal with this explicitly
with the copy-revprops option.

Svnsync doesn't really understand locking so the two repositories aren't
always in sync. This will not be a problem for many I suspect but does affect
the repositories I maintain unfortunately. I've read about several solutions,
usually involving some kind of third party script but my investigations
haven't gone much further.

Sword Ciboodle is the trading name of ciboodle Limited (a company 
registered in Scotland with registered number SC143434 and whose 
registered office is at India of Inchinnan, Renfrewshire, UK, 
PA4 9LH) which is part of the Sword Group of companies.
This email (and any attachments) is intended for the named
recipient(s) and is private and confidential. If it is not for you, 
please inform us and then delete it. If you are not the intended 
recipient(s), the use, disclosure, copying or distribution of any 
information contained within this email is prohibited. Messages to 
and from us may be monitored. If the content is not about the 
business of the Sword Group then the message is neither from nor 
sanctioned by us.
Internet communications are not secure. You should scan this
message and any attachments for viruses. Under no circumstances
do we accept liability for any loss or damage which may result from
your receipt of this email or any attachment.
Received on 2010-08-11 11:48:00 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.