ZEO cache fails in an ugly manner for small sizes

Bug #184057 reported by Christian Theune
2
Affects Status Importance Assigned to Milestone
ZODB
Status tracked in 3.9
3.9
Fix Released
Low
Unassigned

Bug Description

Part 1: The cache can not be disabled (for testing purposes) by specifying 0 as the size.

Part 2: All sizes that are too small to store the header will cause an unintuitive error.

I'd like to change it so that:

0 disables the cache

other values that are smaller than the header are rejected with an explicit error message.

Revision history for this message
Jim Fulton (jim-zope) wrote : Re: [Bug 184057] ZEO cache fails in an ugly manner for small sizes

+1.

I read this to address only creating the cache. You are not
addressing adding objects that are too big to fit in the cache.

Jim

On Jan 18, 2008, at 10:51 AM, Christian Theune wrote:

> Public bug reported:
>
> Part 1: The cache can not be disabled (for testing purposes) by
> specifying 0 as the size.
>
> Part 2: All sizes that are too small to store the header will cause an
> unintuitive error.
>
> I'd like to change it so that:
>
> 0 disables the cache
>
> other values that are smaller than the header are rejected with an
> explicit error message.
>
> ** Affects: zodb
> Importance: Undecided
> Status: New
>
> --
> ZEO cache fails in an ugly manner for small sizes
> https://bugs.launchpad.net/bugs/184057
> You received this bug notification because you are a member of Zodb-
> developers, which is the registrant for ZODB.

--
Jim Fulton
Zope Corporation

Revision history for this message
Christian Theune (ctheune) wrote :

> +1.
>
> I read this to address only creating the cache. You are not
> addressing adding objects that are too big to fit in the cache.

Yup.

Revision history for this message
Christian Theune (ctheune) wrote :

I'll handle this now.

Changed in zodb:
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Christian Theune (ctheune) wrote :

Fixed in r86166.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.