Christopher N. Deckard wrote:
I get errors like this a lot:
Error Type: TALESError file Error Value: ZODB.POSException.ReadConflictError on database read : conflict error (oid 000000000013d150, class BTrees.IOBTree.IOBucket) pic0 in "", at line 48, column 17
I have a script that queries a ZCatalog and returns the list from the query. There are about 2,000 objects cataloged. The objects are ZCatalog aware, so they auto-update the catalog when changed. Whenever this is happening during the query, I get the ReadConflictError.
Do your queries take a long time to execute? How about your updates?
I'm using ZEO on a single machine. I've tried with multiple ZEO clients, but still get the same results. Is there anything I can do in my Product to prevent this from happening? Maybe something else I can configure?
Not really. The idea behind ReadConflictErrors is that your update may have changed some data which the query is then trying to use, but this may not be consistent which the rest of the information your query has already used, so the error is raised. The gurus over at zodb-dev@zope.org may be able to help... cheers, Chris