You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Steve Beet <st...@ieee.org> on 2005/04/15 14:14:53 UTC
Re: fsfs rep on Win98SE lock file problem
Greg Hudson <ghudson <at> MIT.EDU> writes:
>
> On Sat, 2004-10-23 at 16:15, John J Smith wrote:
> > Analysis of the TortoiseSVN equivalent of the
> > above using a system call tracer seemed to
> > indicate that the db.lock file was being opened,
> > LockFile()d, opened again, and LockFile()d again
> > without releasing the first lock.
> >
> > Is it a bug or a problem with my system?
>
> Well, the kind of lock we're getting on that file is a shared lock, so
> it should be okay to get it twice. So, I'll go with "a problem with
> your system." (Though perhaps with win98 in general, and not just with
> your system in particular. Do other people have experience with trying
> FSFS under win98?)
>
> In the long run, I'd like FSFS to work even on systems which aren't 100%
> correct, which means not grabbing the recovery read lock. That lock
> isn't really necessary for FSFS repositories anyway, at least as long as
> recovery isn't doing anything.
>
> I don't know if I can promise a fix in 1.1.2, but maybe. (If you are in
> a position to build the svn code yourself, I could supply a patch which
> would break BDB functionality--not a loss on win98--but eliminate your
> locking problem.)
>
I've just picked up on this thread - better late than never. I have the same
problem with checkouts under Windows ME. I'm currently on SVN 1.1.4 and
Tortoise SVN 1.1.5. Both behave the same (as did 1.1.3).
Any chance of providing a workaround or a proper fix? I'd love to dump CVS and
migrate to SVN but until I can get around this problem, it's not practical.
Thanks,
Steve Beet
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: fsfs rep on Win98SE lock file problem
Posted by Greg Hudson <gh...@MIT.EDU>.
On Fri, 2005-04-15 at 16:36, Josh Pieper wrote:
> I was actually planning on using the repository recovery lock to
> implement an "svn obliterate" like functionality. I think it could be
> useful for other unforseen repository manipulating activities as
> well. Is there no way to have an exclusive write, shared read lock on
> Win95/98?
Win95/98/Me support is not a compelling reason to get rid of the
recovery lock by itself. But I still feel like "no read locks" is
pretty fundamental to the design of FSFS, and that we need to design
around that when making enhancements. In that view, the use of the
recovery lock in FSFS is a bug, albeit a minor one.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: fsfs rep on Win98SE lock file problem
Posted by Josh Pieper <jj...@pobox.com>.
Greg Hudson wrote:
> On Fri, 2005-04-15 at 10:14, Steve Beet wrote:
> > I've just picked up on this thread - better late than never. I have the same
> > problem with checkouts under Windows ME. I'm currently on SVN 1.1.4 and
> > Tortoise SVN 1.1.5. Both behave the same (as did 1.1.3).
> >
> > Any chance of providing a workaround or a proper fix? I'd love to dump CVS and
> > migrate to SVN but until I can get around this problem, it's not practical.
>
> The list has mostly decided that these platforms are a low priority.
> I'm unlikely to put in the work myself.
>
> However, if someone else wants to look into it, the change is fairly
> simple: there's this "recovery lock" in the repository library, which
> was designed for the specific needs of the BDB back end. It doesn't
> really make sense for FSFS, which has no recovery operation and which is
> designed to allow completely unlocked read access. So the lock was
> added at the wrong layer, but we can't do anything about that. The fix,
> then, is to make libsvn_repos not use the recovery lock when the
> repository is of type FSFS.
I was actually planning on using the repository recovery lock to
implement an "svn obliterate" like functionality. I think it could be
useful for other unforseen repository manipulating activities as
well. Is there no way to have an exclusive write, shared read lock on
Win95/98?
-Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: fsfs rep on Win98SE lock file problem
Posted by Steve Beet <st...@ieee.org>.
----- Original Message -----
From: "Greg Hudson" <gh...@MIT.EDU>
To: "Steve Beet" <st...@ieee.org>
Cc: <de...@subversion.tigris.org>
Sent: Friday, April 15, 2005 6:37 PM
Subject: Re: fsfs rep on Win98SE lock file problem
> On Fri, 2005-04-15 at 10:14, Steve Beet wrote:
>> I've just picked up on this thread - better late than never. I have the
>> same
>> problem with checkouts under Windows ME. I'm currently on SVN 1.1.4 and
>> Tortoise SVN 1.1.5. Both behave the same (as did 1.1.3).
>>
>> Any chance of providing a workaround or a proper fix? I'd love to dump
>> CVS and
>> migrate to SVN but until I can get around this problem, it's not
>> practical.
>
> The list has mostly decided that these platforms are a low priority.
> I'm unlikely to put in the work myself.
>
> However, if someone else wants to look into it, the change is fairly
> simple: there's this "recovery lock" in the repository library, which
> was designed for the specific needs of the BDB back end. It doesn't
> really make sense for FSFS, which has no recovery operation and which is
> designed to allow completely unlocked read access. So the lock was
> added at the wrong layer, but we can't do anything about that. The fix,
> then, is to make libsvn_repos not use the recovery lock when the
> repository is of type FSFS.
>
Thanks for the tip - I'll have a look at the source and see what's needed.
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: fsfs rep on Win98SE lock file problem
Posted by Greg Hudson <gh...@MIT.EDU>.
On Fri, 2005-04-15 at 10:14, Steve Beet wrote:
> I've just picked up on this thread - better late than never. I have the same
> problem with checkouts under Windows ME. I'm currently on SVN 1.1.4 and
> Tortoise SVN 1.1.5. Both behave the same (as did 1.1.3).
>
> Any chance of providing a workaround or a proper fix? I'd love to dump CVS and
> migrate to SVN but until I can get around this problem, it's not practical.
The list has mostly decided that these platforms are a low priority.
I'm unlikely to put in the work myself.
However, if someone else wants to look into it, the change is fairly
simple: there's this "recovery lock" in the repository library, which
was designed for the specific needs of the BDB back end. It doesn't
really make sense for FSFS, which has no recovery operation and which is
designed to allow completely unlocked read access. So the lock was
added at the wrong layer, but we can't do anything about that. The fix,
then, is to make libsvn_repos not use the recovery lock when the
repository is of type FSFS.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org