[ZODB-Dev] Understanding conflicts
Dieter Maurer
dieter at handshake.de
Thu Jun 14 16:38:06 EDT 2007
Jim Carroll wrote at 2007-6-12 15:57 +0000:
> ...
>The code that's running essentially does:
>
> add message to Persistent list in object
> get_transaction().commit()
> send_email()
>
>We are using Zodb 3.3a3, and ZEO 2.3a3.
>
>I've read that when a transaction retries, it re-runs code on the server side.
The ZODB by itself does not rerun anything.
Zope (its ZPublisher) retries a request up to three times when it
fails due to a "ConflictError".
--
Dieter
More information about the ZODB-Dev
mailing list