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

Re: Using subversion on a LAN

From: Files <files_at_poetryunlimited.com>
Date: 2003-11-03 18:57:41 CET

Greg Stein,

> I just realized something, which hasn't been noted before. Subversion
> *already* has a lock around the access to the repository. Nominally, we
> use it to lock out users while a recovery is being performed (altho that
> isn't working as designed right now). But you should be able to leverage
> that lock for your own needs.

I looked at the get_repos. It's called repeated during atomic operations and
using it might change the semantics of how subversion operates. I'm not sure
how to integrate it into a massive exclusive lock at the beginning of
processing, since by the time the ra_local has been initialized, the
repository object exists already.

Maybe you could see where it would fit into the patch I'm including in the
email I cc'ed you on, that David started.

The thread title is "lock:// protocol hacked in"

-- 
Shamim Islam
BA BS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 3 18:58:56 2003

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