ZODB .conf no longer supports multiple ZEO Servers for 'failover'

Bug #143843 reported by runyaga
2
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Critical
Unassigned

Bug Description

it looks like from version 2.7 to 2.8/2.9/2.10 somehow the zconfig schema changed on zodb so that it is not possible to assigned a list of zeo servers to a zeo client. this feature is critical if you have a 'stand by' zeo server. i believe the schema type changed from 'string-list' to 'socket-address' which sounds like there needs to be 'socket-address-list' to have multiple host:port.

I'm not sure if the multiple server 'feature' is well explained. it is alluded to in zeo's component.xml describing the server directive and saying its the host for databsae server(s).

logging it here. so it doenst get lost.

Tags: bug database
Revision history for this message
Tres Seaver (tseaver) wrote :

Status: Pending => Rejected

Uploaded: issue_2250.diff

I don't think so. The change (see the attached diff) between the two 'component.xml' files (2.7, 2.8) modifies the 'server' subkey
from 'socket-address' to 'socket-connection-address'; in both
 cases it is a 'multikey', which means that it can be repeated.

The following config stanza works for me on Zope 2.8 (I just tested
that the failover occurs)::

  <zodb_db main>
   mount-point /
   cache-size 5000
   <zeoclient>
    server localhost:9997
    server localhost:9998
    storage 1
    name zeostorage
    var $INSTANCE/var
    cache-size 20MB
   </zeoclient>
  </zodb_db>

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.