[ZODB-Dev] ZODB4 project plan
Magnus Lycka
magnus@thinkware.se
Thu, 28 Nov 2002 03:03:23 +0100
At 20:02 2002-11-27 -0500, Phillip J. Eby wrote:
>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.
Great. Today I touch too many objects, since I store things like
cursor positions in ZODB, but I should move that out of there.
There is still a conceptual problem concerning ACID properties
and undo beyond someone elses commit. Another user might have
made a changed that didn't affect my object, but his changed
might have been prompted by his observation of the change I made.
Then I undo, and his actions are now based on something that
"never happened".
>Subtransactions or nested transactions, on the other hand, won't help your
>use case even in theory. :)
Ok. I was guessing that subtransactions weren't promoted to ZEO
until the main transaction commit, but that was false then?
--
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se