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

Re: Support for filesystem snapshots (?)

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 2 Aug 2010 18:41:36 +0200

On Mon, Aug 02, 2010 at 11:29:44AM -0500, Les Mikesell wrote:
> On 8/2/2010 11:17 AM, Stefan Sperling wrote:
> >The atomicity of Subversion's commits only exists from the application's
> >point of view.
>
> Are there any svnadmin commands that could quiesce/lock the
> repository in a consistent state for the duration of a filesystem
> snapshot - or if not, could that be added as an enhancement?

None that I'm aware of.

I guess we could add a command to svnadmin that obtains a read lock
(blocking all writers) and waits forever until it is killed.
If that's considered useful.

However, this may cause all repository snapshots to be read-locked as well
once they're restored from backup.
So a mechanism to detect stale locks might also need to be devised.
I'm not sure if such a mechanism is already present.

Stefan
Received on 2010-08-02 18:42:18 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.