Commit bd8a4ec4 authored by Julien Muchembled's avatar Julien Muchembled

Merge "master: fix disconnection of clients when cluster leaves RUNNING state"

parents 1ea1dc9e 7719e87b
...@@ -403,6 +403,7 @@ class Application(object): ...@@ -403,6 +403,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