diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-02-26 10:25:16 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-02-26 10:25:16 +0000 |
commit | da9169d6cf2ec9b02169a8298a3526cbad18358c (patch) | |
tree | 36160977963192841a9748278f88be7203c59dce | |
parent | 6e59830823162a99a381a5da18181cf1374063bb (diff) | |
download | rabbitmq-server-da9169d6cf2ec9b02169a8298a3526cbad18358c.tar.gz |
Update comment.
-rw-r--r-- | src/rabbit_autoheal.erl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/rabbit_autoheal.erl b/src/rabbit_autoheal.erl index 7dc5e553..b631d9c9 100644 --- a/src/rabbit_autoheal.erl +++ b/src/rabbit_autoheal.erl @@ -37,10 +37,13 @@ %% selected as the first node in the cluster. %% %% To coordinate the restarting nodes we pick a special node from the -%% winning partition - the "winner". Restarting nodes then stop, tell -%% the winner they have done so, and wait for it to tell them it is -%% safe to start again. The winner and the leader are not necessarily -%% the same node. +%% winning partition - the "winner". Restarting nodes then stop, and +%% wait for it to tell them it is safe to start again. The winner +%% determines that a node has stopped just by seeing if its rabbit app +%% stops - if a node stops for any other reason it just gets a message +%% it will ignore, and otherwise we carry on. +%% +%% The winner and the leader are not necessarily the same node. %% %% Possible states: %% |