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

Re: svn_fs/svn_repo repository lock API

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 23 Aug 2012 09:51:13 -0400

On 08/22/2012 03:39 PM, Philip Martin wrote:
> I'm currently using BDB's svn_repos lock for the BDB freeze so that
> makes a BDB repository completely unreadable while frozen. No BDB
> commits can start while frozen. Starting a BDB freeze has to wait for
> in-progress commits to finish.

Strictly speaking, this is not quite true -- BDB commits may freely be
started and completed here because you're taking a lock at the svn_repos
level instead of the svn_fs one. But I fully recognize the challenges of
doing things any other way, so I merely recommend that you document this
detail well. :-)

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-08-23 15:52:06 CEST

This is an archived mail posted to the Subversion Dev mailing list.