You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Files <fi...@poetryunlimited.com> on 2003/11/03 17:57:41 UTC

Re: Using subversion on a LAN

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