[ZODB-Dev] afterCommitHook
Dieter Maurer
dieter at handshake.de
Thu Sep 22 13:33:00 EDT 2005
Tim Peters wrote at 2005-9-21 18:03 -0400:
> ...
>OTOH, if
>we view the after-commit hook as running at the very start of "the next"
>transaction, the implementation becomes harder to picture (although the edge
>case semantics become clearer: the after-commit hooks run "in" a
>well-defined transaction then).
But it would give very strange semantics:
A transactions has something at its beginning, it knows nothing
about -- and this is committed or aborted depending on the
fate of this transaction.
Bound to result in big surprises...
--
Dieter
More information about the ZODB-Dev
mailing list