Commit c61e2fb0 authored by Julien Muchembled's avatar Julien Muchembled

master: document bug in STOPPING state

parent b2d13516
...@@ -497,6 +497,9 @@ class Application(BaseApplication): ...@@ -497,6 +497,9 @@ class Application(BaseApplication):
def shutdown(self): def shutdown(self):
"""Close all connections and exit""" """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) self.changeClusterState(ClusterStates.STOPPING)
# Marking a fictional storage node as starting operation blocks any # Marking a fictional storage node as starting operation blocks any
# request to start a new transaction. Do this way has 2 advantages: # request to start a new transaction. Do this way has 2 advantages:
......
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