zeo-client-name is useless

Bug #143089 reported by Chris McDonough
4
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

Bug Description

The top-level config file key "zeo-client-name" is apparently useless, replaced by a "client" key in the <zeoclient> section of a storage definition. References to "zeo-client-name" in startup code, docs and in the default config file need to be removed.

Tags: bug zope
Revision history for this message
Andreas Jung (ajung) wrote :

Can you fix it? :-)

Revision history for this message
Tim Peters (tim-one) wrote :

FYI, zeo-client-name appears nowhere in the ZODB or ZEO code, or docs, or component.xml files, in any of the 3.1, 3.2, or 3.3 ZODB/ZEO lines.

The only places I find it are in Zope's zope.conf.in and zopeschema.xml, plus random references on the web (google).

If people are actually using this (I can't tell <sigh>), perhaps it would be better to "make it mean something" (again?)? AFAICT, zeo-client-name has always been in zopeschema.xml.

Hmm ... OK, Zope's handler for zeo-client-name sets the ZEO_CLIENT envar. But ZEO stopped looking at ZEO_CLIENT in ZODB 3.2a1 (and also stopped looking at CLIENT_HOME and INSTANCE_HOME).

Eek! AFAICT also, nothing looks at stuff like database-quota-size or the ZOPE_DATABASE_QUOTA envar it sets.

For that matter, I can't find any actual use of automatically-quote-dtml-request-data (after tracing its one apparent use to a dead end) ... I'm missing something, or there's a lot of write-only nonsense in zope.conf.

Changed in zope2:
milestone: none → 2.13.0
status: New → Fix Committed
Changed in zope2:
status: Fix Committed → Fix Released
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.