Commit 82027ac9 authored by Julien Muchembled's avatar Julien Muchembled

master: fix AttributeError at exit during recovery

parent b66c3fd3
......@@ -137,7 +137,7 @@ class RecoveryManager(MasterHandler):
logging.warning("Waiting for %r to come back."
" No other node has version %s of the partition table.",
node, self.target_ptid)
if node.getState() == new_state:
if node is None or node.getState() == new_state:
# broadcast to all so that admin nodes gets informed
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