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

Re: svnsync and locks

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 5 Apr 2012 13:59:46 -0400

On Thu, Apr 5, 2012 at 1:41 PM, Daniel Shahaf <danielsh_at_elego.de> wrote:
> Julian Foad wrote on Thu, Apr 05, 2012 at 16:26:15 +0100:
>> How would an admin arrange for svnsync to synchronize locks
>> (reserved-checkout locks, that is)?
>>
>
> http://s.apache.org/xy-problem.  Perhaps mod_dav_svn in slave/proxy mode
> should learn to query the master for the existence of locks?

The problem is more subtle than that and changing the proxy to always
do this might blunt the value of a proxy. For example, commands like
update and status -u which are serviced totally by a proxy need to be
lock-aware. If these commands had to also go back to the master you
would lose the benefits of the proxy.

Our slaves do not currently query the master for anything, they just
proxy certain HTTP requests back to the master. Changing mod_dav_svn
to make a call to the master to get information, rather than getting
it from the local repository would be an all new product.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-04-05 20:00:18 CEST

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

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