ZODB .conf no longer supports multiple ZEO Servers for 'failover'
Bug #143843 reported by
runyaga
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-
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.
To post a comment you must log in.
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 connection- address' ; in both
from 'socket-address' to 'socket-
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>