[ZODB-Dev] ZODB: invalidations out of order

Hanno Schlichting hanno at hannosch.eu
Tue Sep 21 11:23:01 EDT 2010


On Tue, Sep 21, 2010 at 5:20 PM, Jim Fulton <jim at zope.com> wrote:
>> It was changes like this one
>> http://svn.zope.org/Zope/trunk/src/Products/PluginIndexes/DateIndex/DateIndex.py?rev=115442&r1=115279&r2=115442
>
> I don't understand how the BTree changes would run afoul of this.
> This code should prevent the BTree from overflowing in the first place, no?

It should. But it failed to recognize that a Python int on a 64bit
platform is too large to fit into an IITreeSet. For some reason this
problem only started showing up after the BTree fixes.

Hanno


More information about the ZODB-Dev mailing list