[ZODB-Dev] ClientStorage.__init__ ignores cache_size param?

kitto.sl at elvis.mailshell.com kitto.sl at elvis.mailshell.com
Wed Oct 13 19:21:04 EDT 2004


Thanks, Jens, I wasn't sure it was a bug or an intended concequence of the MVCC merge 9 months ago. Clearly the documentation and the API disagrees with the code, so there is *some* sort of bug there. I filed this:

  http://zope.org/Collectors/Zope/1536

Thanks,

--Kitto



>From Jens Vagelpohl <jens at dataflake.org> on 13 Oct 2004:

> If you see what you think is a real bug please file it in the bug  
> collector:
> 
> http://www.zope.org/Collectors/Zope
> 
> jens
> 
> 
> On Oct 14, 2004, at 0:01, <kitto.sl at elvis.mailshell.com> wrote:
> 
> > Hello folks,
> >
> > I've recently noticed in using a ZEO setup that ClientStorage.__init__
>  
> > ignores the parameter cache_size, which is supposed to configure the  
> > size of the client's disk cache, and which normally defaults to 20MB.
> >
> > As it turns out, since the cache_size param is ignored, the code  
> > defaults to a cache size of 1MB, and there is no way for client code  
> > to change this.
> >
> > This seems like such an obvious bug that I'm really surprised to be  
> > the only one to see it. Am I missing something?
> >
> > The code I'm looking at is ZODB3.3c1, but this doesn't seem to have  
> > changed for a while:
> >
> >    
> > http://svn.zope.org/ZODB/trunk/src/ZEO/ClientStorage.py? 
> > rev=25186&view=log
> >
> > Thanks!
> >
> > --Kitto
> > _______________________________________________
> > For more information about ZODB, see the ZODB Wiki:
> > http://www.zope.org/Wikis/ZODB/
> >
> > ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> > http://mail.zope.org/mailman/listinfo/zodb-dev
> >
> 
> ---------------
> 
> Jens Vagelpohl			jens at zetwork.com
> Software Engineer			Zope - done medium rare
> Zetwork GmbH				http://www.zetwork.com/
> 
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> 
> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev
> 


More information about the ZODB-Dev mailing list