We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fb32b6 + 22516aa commit b652e8cCopy full SHA for b652e8c
deps/rabbit/src/rabbit_node_monitor.erl
@@ -470,7 +470,7 @@ handle_cast({announce_guid, Node, GUID}, State = #state{node_guids = GUIDs}) ->
470
handle_cast({check_partial_partition, Node, Rep, NodeGUID, MyGUID, RepGUID},
471
State = #state{guid = MyGUID,
472
node_guids = GUIDs}) ->
473
- case lists:member(Node, rabbit_nodes:list_reachable()) andalso
+ case lists:member(Node, rabbit_mnesia:cluster_nodes(running)) andalso
474
maps:find(Node, GUIDs) =:= {ok, NodeGUID} of
475
true -> spawn_link( %%[1]
476
fun () ->
@@ -623,7 +623,7 @@ handle_info({nodedown, Node, Info}, State = #state{guid = MyGUID,
623
Node, node(), DownGUID, CheckGUID, MyGUID})
624
end,
625
_ = case maps:find(Node, GUIDs) of
626
- {ok, DownGUID} -> Alive = rabbit_nodes:list_reachable()
+ {ok, DownGUID} -> Alive = rabbit_mnesia:cluster_nodes(running)
627
-- [node(), Node],
628
[case maps:find(N, GUIDs) of
629
{ok, CheckGUID} -> Check(N, CheckGUID, DownGUID);
0 commit comments