[ZODB-Dev] Storage cleanup method

Jim Fulton jim at zope.com
Fri Jan 11 18:55:42 EST 2008


On Jan 11, 2008, at 3:34 PM, Thomas Lotze wrote:

> Several storage implementations define a cleanup method, which is  
> another
> method that is not currently specified by any interface. (The obvious
> candidate would be IStorage.)
>
> We have the impression, however, that this method is never called in
> production. The only places it is ever called is in ZODB test code. We
> couldn't find any call sites neither in ZODB nor Zope application  
> code.
> How is this meant to work?

It is solely a testing hook.  I'd like to refactor the tests so it  
wasn't necessary.  I don't want to add it to any interfaces.

Jim

--
Jim Fulton
Zope Corporation




More information about the ZODB-Dev mailing list