[Zope-DB] ZODB/ZEO question.
dieter at handshake.de
Mon Apr 4 14:18:00 EDT 2005
Willadsens wrote at 2005-4-3 19:10 -0400:
>Correct, and very intentional. The current question is: semaphore or
>trap error and retry?
The standard way is to catch the "ConflictError", abort the transaction
and then retry the transaction.
Of course, you can try to serialize your transactions.
Be aware, however, that "ConflictError" can arise from
any concurrent transactions -- you must *always* expect
"ConflictError" unless you do not have concurrent transactions.
More information about the Zope-DB