[ZODB-Dev] [ZEO] Storage error with big transactions.

Andreas Jung lists at zopyx.com
Wed Feb 14 03:11:24 EST 2007



--On 13. Februar 2007 14:31:57 -0500 Tim Peters <tim.peters at gmail.com> 
wrote:

>
> Under the covers "someone" is trying to invalidate a current ZEO cache
> entry, and the ZEO cache is complaining because it doesn't believe it
> /has/ current data ("assert o is not None").  Best guess for why it
> doesn't have it is that it silently refused to add current data to
> begin with, because the object pickle was bigger than the size of the
> disk file allocated for the ZEO cache.  Offhand I don't recall that
> this situation is tested, so it's likely to fail in some way.  One way
> to check:  configure the ZEO cache file to be reasonably bigger than
> the size of `data = '*'*100000000`.  If the problem goes away then,
> that's the cause ;-)

You're right (as always). Increasing the cache size makes the problem
disappear. I created a bug report for this issue:

<http://www.zope.org/Collectors/Zope/2279>

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070214/1959fa81/attachment.bin


More information about the ZODB-Dev mailing list