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

Re: progress report (for CMike)

From: <cmpilato_at_collab.net>
Date: 2003-01-08 16:05:48 CET

=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:

> >Here's the first place to look. You're creating a new Berkeley txn
> >while already inside one. I'm *pretty* sure you can't do that. I'll
> >check this out on the trainride in.
>
> Heh. You _can_ create nested transactions, but retry_txn doesn't do that
> -- it creates a new top-level transaction. This can definitely lead to a
> deadlock, even within the same process. How boring.

Right. I should have been more clear. You *can* nest txns in
Berkeley, but not via our interfaces, and ...

> Seems to me that begin_trail should accept a parent_txn parameter to
> create nested transactions.

... we have yet to have a scenario were nested transactions were
really necessary. As it turns out, the problematic part of Karl's
change is just plain wrong. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 8 16:12:02 2003

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