diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-03-05 10:48:17 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-03-05 17:17:51 +0100 |
| commit | 8e72bf57766c7d08c560b98b875e15effbe0d4fc (patch) | |
| tree | 6cb07c20d530a7141f7f5734258f033c42487fca /test/src | |
| parent | b89e64bab82f461e7f60d5a0fd7bda2f659c8750 (diff) | |
| download | rabbitmq-server-git-8e72bf57766c7d08c560b98b875e15effbe0d4fc.tar.gz | |
Autoheal: Wait for current outside app. process to finish
rabbit_node_monitor:run_outside_applications/2 gains a new argument to
indicate if the caller is willing is let a possible current outside
application process to finish before its own function can run. If this
argument is false, the current behaviour is kept: the function is not
executed.
This fixes a bug where autoheal's outside application function was not
executed if pause_if_all_down's outside application function was still
running (ie. rabbit:start() didn't return yet). The bug caused the
loser to not stop and thus the autoheal process to never complete.
Now, the autoheal outside application function waits for the
pause_if_all_down function to finish before stopping the loser.
Diffstat (limited to 'test/src')
0 files changed, 0 insertions, 0 deletions
