[ZODB-Dev] Weird ConflictErrors with Zope 2.8.4 - It's been a while ; -)

Jeremy Hylton jeremy at alum.mit.edu
Tue Jan 24 16:57:11 EST 2006


On 1/24/06, Dieter Maurer <dieter at handshake.de> wrote:
> Much more worrying for me is that the exception comes from ZEO:
>
>   ZEO should *NEVER* raise "ReadConflictError" exceptions!
>
>
> Okay, I see: "TemporaryStorage" raises "ConflictError"
> when other storages would raise "POSKeyError": something
> tries to access an "oid" that was recently garbage collected (i.e.
> deleted).
>
> What you see may be a result of "tempstorage" not implementing
> faithfull MVCC...

Perhaps someone tried to solve Chris's earlier problems with
POSKeyError by renaming the error.  This sound like a problem. 
Perhaps the generic layer of storage tests should have a test that
verifies the correct behavior.  Or maybe it does and TemporaryStorage
isn't running that test.

Jeremy


More information about the ZODB-Dev mailing list