[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-19 05:12:13 CEST

On Aug 18, 2005, at 6:03 PM, Max Bowsher wrote:

>
> If not for compatibility, yes, that would be the way to do it, BUT
> there is a problem. The lockfile is located outside the db/
> directory, which is the the "fs" which is handled by libsvn_fs. In
> other words, a svn repository is a libsvn_fs FS nested within a
> libsvn_repos "repos", and it would be a violation of the layered
> design for the inner layer to assume things about the
> implementation of the outer layer.

So why can't libsvn_fs_base create a new 'lockfile' inside repos/db/,
and start doing all the shared/exclusive locking on that? The
lockfile sitting outside repos/db/ won't be created at all for new
repositories, and will just bit-rot in older repositories.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 19 05:13:03 2005

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