[ZODB-Dev] Re: false write conflicts

Casey Duncan casey at zope.com
Mon Mar 1 22:26:46 EST 2004


On Mon, 01 Mar 2004 19:42:23 -0500
John Belmonte <john at neggie.net> wrote:

> I have an object in my database that is constantly producing write 
> conflicts even though I'm not modifying the object proper.  I am 
> modifying several of its attributes, which are first-class persistent 
> objects and have conflict resolution, in place.  When I add a 
> _p_resolveConflict to the containing class to see what the conflict is
> 
> about, all three states are identical.
> 
> Is this normal?  Could I be doing something to trip ZODB's monitoring
> of object changes?  I don't use _p_changed anywhere.

Are you using augmented assignment operations with the subobjects? At
some point the object in question is being marked as changed. It might
be worthwhile to instrument ZODB to tell you when the object is being
marked changed (and added to the transaction). That'd be one way to
track it down.

-Casey




More information about the ZODB-Dev mailing list