Commit de38d671 authored by Vincent Pelletier's avatar Vincent Pelletier

Change primary master state to RUNNING, as we are indeed connected to it (and...

Change primary master state to RUNNING, as we are indeed connected to it (and it won't notify of its own state).


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1193 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f1be8bd3
......@@ -121,6 +121,8 @@ class Application(object):
self.uuid, self.server)
data = bootstrap.getPrimaryConnection(self.connector_handler)
(node, conn, uuid, num_partitions, num_replicas) = data
nm.update([(node.getType(), node.getServer(), node.getUUID(),
protocol.RUNNING_STATE)])
self.master_node = node
self.master_conn = conn
self.uuid = uuid
......
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