[ZODB-Dev] ReadConflictErrors with ZODB3.10.1 and Relstorage 1.4.1

Shane Hathaway shane at hathawaymix.org
Wed Jan 26 09:08:14 EST 2011


On 01/26/2011 05:29 AM, Jürgen Herrmann wrote:
>   _readCurrent
>   is obviously reused and not cleared at transaction boundaries, is that
>   expected?):

No!  Thanks for the great analysis.  This insight is key.

RelStorage has a monkey patch of the Connection.sync() method, which has 
not changed in a long time, so the monkey patch seemed safe enough. 
Well, sync() changed in ZODB 3.10, but the monkey patch didn't change 
along with it.  Sigh... sorry.

I've checked in a fix in Subversion.  Please try it out.  I need to look 
at the possible pack issue recently reported before we make a release.

Shane


More information about the ZODB-Dev mailing list