Skip to content

Commit

Permalink
Merge pull request #12578 from rabbitmq/mergify/bp/v4.0.x/pr-12577
Browse files Browse the repository at this point in the history
QQ periodic membership reconciliation: correctly return a `ra:members/2` error in case of a timeout (backport #12577)
  • Loading branch information
michaelklishin authored Oct 24, 2024
2 parents 27062d4 + b7f324b commit 5bd0bad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ reconciliate_quorum_members(ExpectedNodes, Running, [Q | LocalLeaders],
OldResult) ->
Result =
maybe
{ok, Members, {_, LeaderNode}} = ra:members(amqqueue:get_pid(Q), 500),
{ok, Members, {_, LeaderNode}} ?= ra:members(amqqueue:get_pid(Q), 500),
%% Check if Leader is indeed this node
LeaderNode ?= node(),
%% And that this not is not in maintenance mode
Expand Down

0 comments on commit 5bd0bad

Please sign in to comment.