diff options
| -rw-r--r-- | src/rabbit_node_monitor.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_node_monitor.erl b/src/rabbit_node_monitor.erl index 785b3b5243..8de6b64511 100644 --- a/src/rabbit_node_monitor.erl +++ b/src/rabbit_node_monitor.erl @@ -732,7 +732,9 @@ handle_dead_rabbit(Node, State = #state{partitions = Partitions, %% that we do not attempt to deal with individual (other) partitions %% going away. It's only safe to forget anything about partitions when %% there are no partitions. - Partitions1 = case Partitions -- (Partitions -- alive_rabbit_nodes()) of + NotRunningRabbit = Partitions -- alive_rabbit_nodes(), + InSync = rabbit_mnesia:cluster_nodes(running), + Partitions1 = case Partitions -- NotRunningRabbit -- InSync of [] -> []; _ -> Partitions end, |
