diff options
author | Jean-Sebastien Pedron <jean-sebastien@rabbitmq.com> | 2014-12-10 18:10:59 +0100 |
---|---|---|
committer | Jean-Sebastien Pedron <jean-sebastien@rabbitmq.com> | 2014-12-10 18:10:59 +0100 |
commit | 150d2432e99f5f7fa910e07ad664cf8f6a4fedac (patch) | |
tree | bedeb5065aed67ffbb0e6602a7d52bb637bb44fb | |
parent | a755fcfcd6bfd9435534de2dc07288144bdf85a9 (diff) | |
download | rabbitmq-server-150d2432e99f5f7fa910e07ad664cf8f6a4fedac.tar.gz |
Add more information to the 'about_to_heal' state explanations
-rw-r--r-- | src/rabbit_autoheal.erl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rabbit_autoheal.erl b/src/rabbit_autoheal.erl index 7089911c..8a5614ae 100644 --- a/src/rabbit_autoheal.erl +++ b/src/rabbit_autoheal.erl @@ -55,12 +55,16 @@ %% before telling them they can restart %% %% about_to_heal -%% - we are the leader, and have already assigned the winner and losers. -%% We are part of the losers and we wait for the winner_is announcement. +%% - we are the leader, and have already assigned the winner and +%% losers. We are part of the losers and we wait for the winner_is +%% announcement. This leader-specific state differs from not_healing +%% (the state other losers are in), because the leader could still +%% receive request_start messages: those subsequent requests must be +%% ignored. %% %% {leader_waiting, OutstandingStops} %% - we are the leader, and have already assigned the winner and losers. -%% We are neither but need to ignore further requests to autoheal. +%% We are neither but need to ignore further requests to autoheal. %% %% restarting %% - we are restarting. Of course the node monitor immediately dies |