summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-10-14 15:13:29 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-10-14 15:13:29 +0100
commit110d418c2f7bcf8935a3e8319d032c3355a3767c (patch)
tree9ef51e395bb10811e21fe28763841d4f51f98f9c
parent27ef448ba7cdce53d94258f970d407846d4135f5 (diff)
downloadrabbitmq-server-110d418c2f7bcf8935a3e8319d032c3355a3767c.tar.gz
In fact, that case can't happen since bug 26043, so let's simplify.
-rw-r--r--src/rabbit_autoheal.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rabbit_autoheal.erl b/src/rabbit_autoheal.erl
index beb06a8c..5a6cd48f 100644
--- a/src/rabbit_autoheal.erl
+++ b/src/rabbit_autoheal.erl
@@ -155,13 +155,6 @@ handle_msg({become_winner, Losers},
[Losers]),
filter_already_down_losers(Losers, Losers);
-handle_msg({become_winner, Losers},
- {winner_waiting, WaitFor, Notify}, _Partitions) ->
- rabbit_log:info("Autoheal: I am the winner, waiting additionally for "
- "~p to stop~n", [Losers]),
- filter_already_down_losers(lists:usort(Losers ++ WaitFor),
- lists:usort(Losers ++ Notify));
-
handle_msg({winner_is, Winner},
not_healing, _Partitions) ->
rabbit_log:warning(