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

Re: svn ci performance hit with hotcopy as post-commit hook

From: Russ <rsivak_at_istandfor.com>
Date: 2006-11-02 04:45:42 CET

Why has nobody suggested using svnsync? Somebody set up an ha scenario just a few days ago on this list using svnsync.
Russ
Sent wirelessly via BlackBerry from T-Mobile.

-----Original Message-----
From: Ryan Schmidt <subversion-2006d@ryandesign.com>
Date: Wed, 1 Nov 2006 17:11:04
To:Erik Huelsmann <ehuels@gmail.com>
Cc:"Mark Kempster" <mark@kempster.org>, users@subversion.tigris.org
Subject: Re: svn ci performance hit with hotcopy as post-commit hook

On Nov 1, 2006, at 16:56, Erik Huelsmann wrote:

>> My biggest problem is the post-commit hook calling svnadmin hotcopy.
>> The repository (fsfs) only weighs in at 120MB, but it's taking
>> between
>> 20 and 30 seconds for the hotcopy to come back, with the client's
>> checkin transaction dutifully waiting. I fear this pause will be too
>> long for users.
>
> You don't need your clients to wait 20-30 secs iff you detach the
> hotcopy process from the one doing the commit by issuing in your
> post-commit:
>
> svnadmin hotcopy ... >/dev/null 2>/dev/null &

If two people try to commit in close succession, won't the one backup
overwrite the other, possibly resulting in a corrupt or at least out-
of-date backup?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 2 04:55:35 2006

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.