summaryrefslogtreecommitdiff
path: root/src/rabbit_node_monitor.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_node_monitor.erl')
-rw-r--r--src/rabbit_node_monitor.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_node_monitor.erl b/src/rabbit_node_monitor.erl
index 558596ef..de53b7f0 100644
--- a/src/rabbit_node_monitor.erl
+++ b/src/rabbit_node_monitor.erl
@@ -344,8 +344,8 @@ handle_dead_rabbit_state(State = #state{partitions = Partitions}) ->
%% If we have been partitioned, and we are now in the only remaining
%% partition, we no longer care about partitions - forget them. Note
%% that we do not attempt to deal with individual (other) partitions
- %% going away, it's only safe to forget *any* of them when we have seen
- %% the back of *all* of them.
+ %% going away. It's only safe to forget anything about partitions when
+ %% there are no partitions.
Partitions1 = case Partitions -- (Partitions -- alive_nodes()) of
[] -> [];
_ -> Partitions