[ZODB-Dev] Storage keys via ZEO?

Paul Winkler pw_lists at slinkp.com
Thu Sep 4 16:02:14 EDT 2003


On Wed, Sep 03, 2003 at 02:21:27PM -0300, Christian Reis wrote:
> 
> Is there a way to list all the OIDs in a storage while connecting
> through a ZEO ClientStorage? 
> 
> I'm aware that there isn't a storage-independent function that grabs
> keys, but it would be nice to have one. Do others agree?
> 
> (I ran into this while trying to purge my storage of references to
> classes that don't exist in code anymore -- are there better ways to
> find out if we have dangling references in our storage?)

I don't know if there's a storage-independent way, but fsrefs.py should 
tell you if you have dangling references in a FileStorage.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PRESIDENT X!
(random hero from isometric.spaceninja.com)



More information about the ZODB-Dev mailing list