[ZCM] [ZC] 1536/ 2 Assign "ClientStorage.__init__ ignores
cache_size"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Oct 13 19:36:54 EDT 2004
Issue #1536 Update (Assign) "ClientStorage.__init__ ignores cache_size"
Status Accepted, Database/bug medium
To followup, visit:
http://zope.org/Collectors/Zope/1536
==============================================================
= Assign - Entry #2 by tim_one on Oct 13, 2004 7:36 pm
Status: Pending => Accepted
Supporters added: tim_one
Oops! You're right, of course. MVCC required a new ZEO cache design, and the *intent* was always that we'd replace this prototype cache design entirely. Alas, real life interfered, and that didn't happen. For now, replace "10**6" with something you like <wink>. If you have the disk space, I think 10**9 would make a lot more sense (i.e., the more space the better, within reason).
________________________________________
= Request - Entry #1 by Anonymous User on Oct 13, 2004 6:38 pm
ClientStorage.__init__, which is used with ZEO, seems to ignore the cache_size parameter.
Documentation indicates that this parameter can be used to set the size of the ZEO client's local disk-based cache, and that it defaults to 20MB. However, inspecting the code suggests that this parameter is completely ignored, and that ClientStorage always uses a 1MB cache.
Is this intentional? It seemed to have been introduced 9 months ago with the merge of MVCC-related code.
==============================================================
More information about the Zope-Collector-Monitor
mailing list