Commit 78dab7fd authored by Grégory Wisniewski's avatar Grégory Wisniewski

When an election restart, assume all masters are unknown and candidates for election.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1548 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5e98e011
......@@ -141,8 +141,8 @@ class Application(object):
# handle new connected masters
for node in self.nm.getMasterList():
if node.isRunning() or node.isUnknown():
self.unconnected_master_node_set.add(node.getAddress())
node.setUnknown()
self.unconnected_master_node_set.add(node.getAddress())
# start the election process
self.primary = None
......
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