[ZODB-Dev] Low-level reference finding, tracking, deleting?
Jeff Shell
jeff at bottlerocket.net
Sat Apr 17 10:57:39 EDT 2010
On Apr 17, 2010, at 2:07 AM, Tres Seaver <tseaver at palladion.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jeff Shell wrote:
>>
>> Given an oid, how can I trace what references that object/oid? There
>> is something in our normal object hierarchy retaining a reference,
>> but I don't know how to find it, and imagine that trying to
>> investigate/load the objects from the ZODB level will help me find
>> the culprit.
>>
>> Are there low level deletion tools in the ZODB to delete individual
>> objects?
>
> Hmm, maybe you could hack a dummy version of
> 'zope.inteface.adapter.Null' back into place, and set a breakpoint
> inside its __setstate__? Just a thought.
We did put a dummy Null in place to try and get through the import, but didn't think about the breakpoint in __setstate__. Good thought.
JPS
More information about the ZODB-Dev
mailing list