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

Re: FS hangups.

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-29 19:51:26 CET

On Tue, Jan 29, 2002 at 11:20:18AM -0600, cmpilato@collab.net wrote:
>...
> Now, when I was working on turning off deltification of directory
> entries in the filesystem code last week, I posted to the list my
> patch and a request for help because with my patch in place, Berkeley
> would hang in __select(). I determined that the hangs would disappear
> if I didn't re-enter the public FS API (more specifically, if I didn't
> try to create a Berkeley transaction from within a Berkeley
> transaction), my hangs disappeared. The exact same bug (and solution)
> hit me later last week when I was implementing the recursive tree
> (un-)deltification.
>
> I wonder...could the same thing be happening here?

It does sound like creating the two transactions are deadlocking. Of course,
we would hope that DB would detect that and return an error. But oh well.

As Branko said, we should simply avoid creating two transactions for any
given operation.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:01 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.