From 110d418c2f7bcf8935a3e8319d032c3355a3767c Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Tue, 14 Oct 2014 15:13:29 +0100 Subject: In fact, that case can't happen since bug 26043, so let's simplify. --- src/rabbit_autoheal.erl | 7 ------- 1 file changed, 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( -- cgit v1.2.1