[ZODB-Dev] API for dooming a transaction for ZODB 3.3
Dieter Maurer
dieter at handshake.de
Fri Jan 9 13:12:07 EST 2004
Casey Duncan wrote at 2004-1-8 13:34 -0500:
> ...
>> So, I'm now in favour of never committing a doomed transaction.
>
>+1
I do not think that we should have the effect of dooming
a transaction without an error message.
Dooming a transactions is a very disruptive global (with respect
to the request) operation -- especially when used inside a module.
It may affect things far outside the scope of the dooming.
Why can you not raise a special exception that you can handle
in a special way inside your error page?
--
Dieter
More information about the ZODB-Dev
mailing list