[Zope-Coders] Zope test results
Jeremy Hylton
jeremy@zope.com
Wed, 12 Jun 2002 11:03:24 -0400
>>>>> "CM" == Chris McDonough <chrism@zope.com> writes:
CM> This is actually not a Transience bug but a bug in either
CM> OFS.ObjectManager or ZODB (depending on your point of view)
CM> exposed by the Transience test suite and the recent changes to
CM> ZODB.
Thanks for all the details!
CM> I'm not sure whether ObjectManager should be fixed or ZODB that
CM> should be fixed or both. I didn't dig too much into the
CM> rationale for setting up the subobject's _p_jar immediately,
CM> does anybody have a good handle on how this helps the copy
CM> machinery?
I just asked Jim about it and he thinks ZODB should ignore
invalidations on objects that have a jar but not an oid. I don't
think that's the whole story, but it is part of the complete answer.
I wonder if we need to add a method on the ZODB Connection to
"register" an object before the Transaction manager registers it.
That might be a more explicit way to accomplsu what setting _p_jar
does, and would allow the Connection to do whatever bookkeeping it
needs to stay sane.
Jeremy