[Zope-DB] ZODB/ZEO question.

Willadsens aagg at comcast.net
Sun Apr 3 19:10:32 EDT 2005


Dieter Maurer wrote:

>Willadsens wrote at 2005-4-1 15:13 -0500:
>  
>
>>...
>>Here is (1) the original trace, failing on the commit:
>>
>>Traceback (most recent call last):
>>...
>>File "/usr/local/lib/python2.4/site-packages/ZODB/Connection.py", line
>>610, in commit
>>  raise ConflictError(object=obj)
>>ZODB.POSException.ConflictError: database conflict error (oid 0x00,
>>class persistent.mapping.PersistentMapping)
>>    
>>
>
>Apparently, two concurrent transactions try to modify the
>root object.
>
>  
>
Correct, and very intentional. The current question is: semaphore or 
trap error and retry? Chris suggested a retry, and said the semaphore is 
not necessary.

Gloria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20050403/7ed4389b/attachment.htm


More information about the Zope-DB mailing list