Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

Jeremy Hylton jeremy at zope.com
Fri Dec 12 10:23:26 EST 2003


On Fri, 2003-12-12 at 10:09, Sidnei da Silva wrote:
> /me grumbles
> 
> Is it right that in general the only old-style BTree in a ZODB is
> 'ZGlobals' at the root? It seems ZCatalog have a manage_convertBTrees
> method since 2.3.1, and at least on my instance, the indexes BTrees
> are already new.

I think that is true.  On the other hand, it was a bit of a surprise to
find a BTree in ZGlobals.  Maybe they're hiding somewhere else, too.

> I'm going to change the code to use BTrees.convert, now that I've
> found it *wink*.

Didn't know that was there either.

Jeremy





More information about the Zope-Dev mailing list