[ZODB-Dev] ZODB4 project plan

Christian Reis kiko@async.com.br
Wed, 27 Nov 2002 23:32:30 -0200


On Wed, Nov 27, 2002 at 08:02:23PM -0500, Phillip J. Eby wrote:
> >If I commit a transaction to ZEO and some other user commits another
> >transaction after that, I suppose I can't undo my changes without
> >undoing the other user's changes.
> 
> That's only true if both transactions touch the same object in some way 
> (e.g. a ZCatalog).  Otherwise, transactions can be undone independently, 
> and this doesn't require either versions or subtransactions.

Isn't this true only if you have separate transaction contexts -- IOW,
separate threads? I don't think Magnus' app does.

This doesn't mean that versions are the best solution to the problem,
though. If we had an easy way to define transaction contexts, it would
be great.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL