Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_vhosts.erl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ boot() ->
%% See start_processes_for_all/1.
-spec reconcile() -> 'ok'.
reconcile() ->
case is_reconciliation_enabled() of
case rabbit:is_running() andalso is_reconciliation_enabled() of
false -> ok;
true ->
_ = reconcile_once(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ reset_nodes([], _Leader) ->
ok;
reset_nodes([Node| Nodes], Leader) ->
ok = rabbit_control_helper:command(stop_app, Node),
ok = rabbit_control_helper:command(forget_cluster_node, Leader, [atom_to_list(Node)]),
case rabbit_control_helper:command(forget_cluster_node, Leader, [atom_to_list(Node)]) of
ok -> ok;
{error, _, <<"Error:\n{:not_a_cluster_node, ~c\"The node selected is not in the cluster.\"}">>} -> ok
end,
ok = rabbit_control_helper:command(reset, Node),
ok = rabbit_control_helper:command(start_app, Node),
reset_nodes(Nodes, Leader).
Expand Down
Loading