Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
neoppod
Commits
c61e2fb0
Commit
c61e2fb0
authored
Oct 14, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master: document bug in STOPPING state
parent
b2d13516
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
neo/master/app.py
neo/master/app.py
+3
-0
No files found.
neo/master/app.py
View file @
c61e2fb0
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment