summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_node_monitor.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_node_monitor.erl b/src/rabbit_node_monitor.erl
index 46dbd7b7a1..b9a7b44182 100644
--- a/src/rabbit_node_monitor.erl
+++ b/src/rabbit_node_monitor.erl
@@ -344,9 +344,10 @@ handle_dead_node(Node, State = #state{autoheal = Autoheal}) ->
case application:get_env(rabbit, cluster_partition_handling) of
{ok, pause_minority} ->
case majority() of
- true -> State;
- false -> await_cluster_recovery() %% Does not really return
- end;
+ true -> ok;
+ false -> await_cluster_recovery()
+ end,
+ State;
{ok, ignore} ->
State;
{ok, autoheal} ->