Re: Two svnsync in parallel crash mirror repo.
From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 13 Jan 2011 20:26:37 +0100
On Thu, Jan 13, 2011 at 07:17:09PM +0000, krueger, Andreas (Andreas Krüger, DV-RATIO) wrote:
> I am contemplating to introduce some locking to primary's post-commit
Already found:
A fix for this problem will be released in Subversion 1.7.
The workaround with 1.6 is to run svnsync processes on the same machine,
LOCKFILE=/tmp/`basename ${0}`.lock
lockfile -r 3 ${LOCKFILE} || exit 1
Stefan
|
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.