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

Re: File Locking on Win9x, and FSFS repositories

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-18 20:11:05 CEST

On Aug 18, 2005, at 12:57 PM, Branko Čibej wrote:
>
> Of course, the catch here is that svn_fs_recover must handle the
> exclusive locking itself.

Right, the "correct" approach is that the the BDB implementation of
svn_fs_open() takes out a shared lock on some file, and the BDB
implementation of svn_fs_recover() takes out an exclusive lock on the
same file. That means there's no locking logic happening anywhere in
FSFS or libsvn_repos.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 18 20:12:08 2005

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