[ZODB-Dev] snapshot isolation how-to

Dieter Maurer dieter@handshake.de
Mon, 14 Apr 2003 20:29:13 +0200


Adam Groszer wrote at 2003-4-14 14:29 +0200:
 > I'd like to ask, how-to use the snapshot (or ReadCommitted) isolation level
 > with ZODB.
 > I already downloaded the patch
 > http://www.dieter.handshake.de/pyprojects/zope/ReadCommitted.pat
 > tried it with 3.1, 3.2a1, read the "[Ann] "ReadCommitted" transaction
 > isolation level" and "Re: [Zope-dev] Conflict reduced BTrees for catalogin"
 > threads but am still confused.
 > My current problem is that I still get (read)ConflictErrors on OOBucket's.

Try to get a traceback for this "ReadConflictError" such that
we can see where the exception is raised.

The patch can prevent read conflict errors only for storages
with history support. Currently, it will not prevent
"ReadConflictError"s for other storages.


Dieter