[ZODB-Dev] conflict resolution for PersistentList

Jeremy Hylton jeremy at alum.mit.edu
Mon May 24 08:39:39 EDT 2004


On Sun, 2004-05-23 at 23:08, Tim Peters wrote:
> [Chris McDonough]
> > AFAIK, it's a bug in whatever version of ZODB that you're using that you
> > are allowed to commit inconsistent state back to the database after
> > there has been a read conflict error, even one which is mistakenly
> > caught by your own exception handler.  It just should raise a separate
> > conflict error at commit time, and even if *that* is mistakenly caught,
> > you shouldn't see inconsistent state in the database from a different
> > connection afterwards (the commit would have failed).
> 
> I think the fix forcing suppressed conflicts to prevent commit got lost (so
> far as ZODB's NEWS.txt is concerned, not in the code) in the crush of news
> about fixing corruption due to the then-lack of atomic invalidations (which
> could cause corruption even if no conflicts were suppressed).

I think this feature was added for ZODB 3.2, but I'm not sure.

Jeremy





More information about the ZODB-Dev mailing list