Commit c61e2fb0 by Julien Muchembled

master: document bug in STOPPING state

1 parent b2d13516
......@@ -497,6 +497,9 @@ class Application(BaseApplication):
def shutdown(self):
"""Close all connections and exit"""
# BUG: Broken if the cluster was not in RUNNING state.
# For example, storage nodes identifies as RUNNING
# and are told to start operation.
self.changeClusterState(ClusterStates.STOPPING)
# Marking a fictional storage node as starting operation blocks any
# request to start a new transaction. Do this way has 2 advantages:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!