Commit 7719e87b authored by Julien Muchembled's avatar Julien Muchembled

master: fix disconnection of clients when cluster leaves RUNNING state

parent dbcc333d
...@@ -449,6 +449,7 @@ class Application(object): ...@@ -449,6 +449,7 @@ class Application(object):
if node.isClient(): if node.isClient():
if state != ClusterStates.RUNNING: if state != ClusterStates.RUNNING:
conn.close() conn.close()
continue
handler = client_handler handler = client_handler
elif node.isStorage(): elif node.isStorage():
handler = storage_handler handler = storage_handler
......
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