[Zope-DB] ZODB/ZEO question.
chris at simplistix.co.uk
Mon Apr 4 09:00:13 EDT 2005
>> Apparently, two concurrent transactions try to modify the
>> root object.
> Correct, and very intentional.
Why? I'd suggest an architecture change that removes the root as a hotspot.
> The current question is: semaphore or
> trap error and retry? Chris suggested a retry, and said the semaphore is
> not necessary.
If you need a semaphore for this, it doesn't need to be persistent. Just
use a lok from Python's threading module...
Simplistix - Content Management, Zope & Python Consulting
More information about the Zope-DB