Skip to content

Commit ca4ead7

Browse files
SimonUngemichaelklishin
authored andcommitted
rabbit_quorum_queue_periodic_membership_reconciliation:on_node_down should be called even with Khepri as db
1 parent b49b9a8 commit ca4ead7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_node_monitor.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ handle_dead_rabbit(Node, State) ->
856856
%% statements on *one* node, rather than all of them.
857857
ok = rabbit_amqqueue:on_node_down(Node),
858858
ok = rabbit_alarm:on_node_down(Node),
859+
ok = rabbit_quorum_queue_periodic_membership_reconciliation:on_node_down(Node),
859860
State1 = case rabbit_khepri:is_enabled() of
860861
true -> State;
861862
false -> on_node_down_using_mnesia(Node, State)
@@ -865,7 +866,6 @@ handle_dead_rabbit(Node, State) ->
865866
on_node_down_using_mnesia(Node, State = #state{partitions = Partitions,
866867
autoheal = Autoheal}) ->
867868
ok = rabbit_mnesia:on_node_down(Node),
868-
ok = rabbit_quorum_queue_periodic_membership_reconciliation:on_node_down(Node),
869869
%% If we have been partitioned, and we are now in the only remaining
870870
%% partition, we no longer care about partitions - forget them. Note
871871
%% that we do not attempt to deal with individual (other) partitions

0 commit comments

Comments
 (0)