subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <markp...@gmail.com>
Subject Re: svnsync and locks
Date Thu, 05 Apr 2012 17:59:46 GMT
On Thu, Apr 5, 2012 at 1:41 PM, Daniel Shahaf <danielsh@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/

Mime
View raw message