diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-03-04 11:24:21 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-03-04 11:24:21 +0100 |
| commit | 14821c6ead2ac2441ba61ef470640eb618716a92 (patch) | |
| tree | 6a59e0fd7e3e90867e5d046de39c1336b90a7a74 /ebin | |
| parent | 945b04fdeb7a3a3113b8cb88ea8777d4b807b65a (diff) | |
| download | rabbitmq-server-git-14821c6ead2ac2441ba61ef470640eb618716a92.tar.gz | |
Autoheal: The leader waits for "done!" message from the winner
Before, the leader was monitoring the losers itself (exactly like the
winner). When they were all down, it was going back to the "not_healing"
state.
Therefore, there was a possibility that the leader and winner went
out-of-sync regarding the autoheal state.
Now, the leader simply waits for a confirmation from the winner that the
autoheal process is over. If the leader is a loser too, the autoheal
state is saved in the application environment to survive the restart.
When the leader is back up, it asks the winner to possibly notify it
again.
Diffstat (limited to 'ebin')
0 files changed, 0 insertions, 0 deletions
