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.

Zope-DB mailing list

Reply via email to