Commit 45d5ee39 authored by Aurel's avatar Aurel

only check we get partition table from a master node, as packet can be

received in any order and primary can not be set into client when receiving this one


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@119 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4bcc37c1
......@@ -213,11 +213,7 @@ class ClientEventHandler(EventHandler):
pt = app.pt
node = app.nm.getNodeByUUID(uuid)
# This must be sent only by primary master node
if not isinstance(node, MasterNode) \
or app.primary_master_node is None \
or app.primary_master_node.getUUID() != uuid:
# FIXME sometimes primary master node is None, but we are
# connected to it, so client wait forever
if not isinstance(node, MasterNode):
return
if app.ptid != ptid:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment