diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-07-25 17:32:52 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-07-25 17:32:52 +0100 |
commit | 383c3ec80a2fba2f0090d3b4ccabd77668438ecb (patch) | |
tree | 453414f4772dc21e95a8e90e161a84bfb85e215a | |
parent | c60a603347517bf31304008a7f485142f1711db5 (diff) | |
download | rabbitmq-server-bug25921.tar.gz |
Explainbug25921
-rw-r--r-- | src/rabbit_misc.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 1a9c8a41..006bbadf 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -899,6 +899,9 @@ ntoab(IP) -> _ -> "[" ++ Str ++ "]" end. +%% We try to avoid reconnecting to down nodes here; this is used in a +%% loop in rabbit_amqqueue:on_node_down/1 and any delays we incur +%% would be bad news. is_process_alive(Pid) -> Node = node(Pid), lists:member(Node, [node() | nodes()]) andalso |