Commit a011baec authored by Vincent Pelletier's avatar Vincent Pelletier

No need to cleanum NodeManager content when connection to primary master is...

No need to cleanum NodeManager content when connection to primary master is closed, since we will anyway flush it when trying to reconnect to a primary master.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1194 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent de38d671
......@@ -137,12 +137,6 @@ class MasterEventHandler(EventHandler):
app.master_conn = None
app.master_node = None
app.uuid = None
nm = app.nm
uuid = conn.getUUID()
node = nm.getNodeByUUID(uuid)
assert node is not None
nm.update([(node.getType(), node.getServer(), uuid,
protocol.DOWN_STATE)])
raise PrimaryFailure
def connectionFailed(self, conn):
......
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