Christian Theune wrote:
Hi,

we are using Zope 3 generations to update ZODBs. Sometimes the default
tools that traverse the object tree are not covering all bases.

I opened access to the FileStorage index of OIDs so we can iterate over
those. (We are ignoring exceptions about POSKeyErrors at one point
because we are likely doing something wrong there.)

As the actual code is in an internal repository I have attached the
relevant code in this mail to let you get an impression on this.

However, this is not compatible to ZEO installations. Do you think it
would be useful to implement a way of iterating over all objects on any
storage?

Absolutely. That has been the plan all along.

The api in FileStorage was just a beginning step toward this.

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to