[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: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-02 00:11:04 CET

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 00:11:49 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.