ZEO cache fails in an ugly manner for small sizes
Bug #184057 reported by
Christian Theune
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.
To post a comment you must log in.
+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: /bugs.launchpad .net/bugs/ 184057
>
> 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:/
> You received this bug notification because you are a member of Zodb-
> developers, which is the registrant for ZODB.
--
Jim Fulton
Zope Corporation