summaryrefslogtreecommitdiff
path: root/src/rabbit_autoheal.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-02-17 17:57:12 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-02-17 17:57:12 +0000
commit2f2d399aae12004abcc24a02efc31191a1302ffa (patch)
treee2e4bfe259e62c6d48590ce7b519a0c84c7e8384 /src/rabbit_autoheal.erl
parentf4017ab867c0c607a72260b383e081fcde088202 (diff)
downloadrabbitmq-server-2f2d399aae12004abcc24a02efc31191a1302ffa.tar.gz
Inform autoheal that a node is down on nodedown not rabbit app down; therefore stop ignoring nodedown in winner_waiting.bug26006
Diffstat (limited to 'src/rabbit_autoheal.erl')
-rw-r--r--src/rabbit_autoheal.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rabbit_autoheal.erl b/src/rabbit_autoheal.erl
index a5b91867..43d35fb5 100644
--- a/src/rabbit_autoheal.erl
+++ b/src/rabbit_autoheal.erl
@@ -75,8 +75,6 @@ maybe_start(State) ->
enabled() ->
{ok, autoheal} =:= application:get_env(rabbit, cluster_partition_handling).
-node_down(_Node, {winner_waiting, _Nodes, _Notify} = Autoheal) ->
- Autoheal;
node_down(_Node, not_healing) ->
not_healing;
node_down(Node, _State) ->