[ZODB-Dev] Wrong blob returned in one of the zeo clients

Shane Hathaway shane at hathawaymix.org
Tue Mar 1 15:29:49 EST 2011


On 03/01/2011 01:10 PM, Jim Fulton wrote:
> On Tue, Mar 1, 2011 at 2:47 PM, Shane Hathaway<shane at hathawaymix.org>  wrote:
>>> Any idea where the error might be?  Could this be in plone.app.blob?
>>> Any chance that this is better in ZODB 3.9+?
>>
>> This appears to be a design bug in the "zeocache" blob layout: if a
>> single transaction stores multiple blobs, and the OIDs of some of those
>> blobs differ by a multiple of 997, then cache filenames will collide.
>
> I'm at a loss as to why you would think this.
>
> The the blob file names use the full oid.

Yes I see that now.

Shane


More information about the ZODB-Dev mailing list