[ZODB-Dev] Re: [Persistence-sig] "Straw Man" transaction API

Jeremy Hylton jeremy@alum.mit.edu
Fri, 13 Sep 2002 11:24:53 -0400


>>>>> "PJE" == Phillip J Eby <pje@telecommunity.com> writes:

  PJE> I just discovered an interesting (design?) flaw in both my
  PJE> "Straw Man" API and ZODB4 regarding savepoints...

  PJE> If you savepoint the transaction with participants p1 and p2,
  PJE> and then participant p3 joins the transaction *after* this, the
  PJE> created savepoint object has no way to know how to rollback p3,
  PJE> if it's rolled back.

  PJE> It seems some additional complexity in the join method and the
  PJE> savepoint aggregation are required.  :(

Interesting problem :-).

If a participant joined after a savepoint, would it be sufficient to
abort that participant?

Jeremy