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 | be684578e27d0a9dda192b226de235cce723b27d (patch) | |
| tree | 36160977963192841a9748278f88be7203c59dce | |
| parent | 354a4927cf2ba39b01804c7b0430b7571b2088b5 (diff) | |
| download | rabbitmq-server-git-be684578e27d0a9dda192b226de235cce723b27d.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 7dc5e55387..b631d9c915 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: %% |
