diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-04-22 16:10:51 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-04-22 16:10:51 +0100 |
commit | 8b7df16ae4b8014181c32b29db2cba53c35b2c24 (patch) | |
tree | 0413fcd444afebf175ab5498d2ebdd61ade58e02 /src/rabbit_autoheal.erl | |
parent | 6435a6cbcf9ad1782fbef8eec9daab9ecc3d8eef (diff) | |
download | rabbitmq-server-8b7df16ae4b8014181c32b29db2cba53c35b2c24.tar.gz |
Move those functions to their own place, and replace the autoheal all_nodes_up check with all_rabbit_nodes_up since it will depend on the rabbit application running to DTRT.
Diffstat (limited to 'src/rabbit_autoheal.erl')
-rw-r--r-- | src/rabbit_autoheal.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_autoheal.erl b/src/rabbit_autoheal.erl index 82f26634..c00c2dd6 100644 --- a/src/rabbit_autoheal.erl +++ b/src/rabbit_autoheal.erl @@ -93,7 +93,7 @@ node_down(Node, _State) -> handle_msg({request_start, Node}, not_healing, Partitions) -> rabbit_log:info("Autoheal request received from ~p~n", [Node]), - case rabbit_node_monitor:all_nodes_up() of + case rabbit_node_monitor:all_rabbit_nodes_up() of false -> not_healing; true -> AllPartitions = all_partitions(Partitions), {Winner, Losers} = make_decision(AllPartitions), |