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

Re: SVN write through proxy out off sync

From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Fri, 15 May 2015 20:18:49 +0200

Hi,

On 15/05/15 12:10, Mustafa Karci wrote:
> Today ore svn mirrror got out off sync. The setup is as the headline
> describes. We have setup a mirror that does only read actions and write
> actions are committed to the master SVN server.
>
> So on the mirror we have in the /etc/http/conf.d/mirror.conf file. this
> has 2 locations created. The private branch that redirects all writes to
> the master "SVNMasterURI" and a second Where the sync from master is
> send to.
>
> And yes, all hook scrip are executable. So the problem is : Some in 6
> mounts the mirror would got out off sync because the locking mechanism
> was in please.

And you don't have out-of-band monitoring?

> |svn propdel --revprop -r0 svn:sync-lock http://mirror/svn-proxy-sync

Side note: This should be svnsync sync --steal-lock [...]

> svnsync sync http://mirror/svn-proxyn-sync file:///home/master/svn/private|
>
> But now doing a svnsync
> sync http://mirror/svn-proxyn-sync file:///home/master/svn/private we
> get an error messages like :

Typo...? svn-proxyn-sync != svn-proxy-sync.
(Also never really liked the band.)

> svnsync: Error setting property 'sync-lock':
> Can't find a temporary directory: Internal error

The server is unable to create a temporary directory.
(subversion/libsvn_subr/io.c) Check file permissions in the repository
as well as temporary paths the system may be using.

Andreas
Received on 2015-05-15 20:19:12 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.