Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Jun 22, 2024

ra_state may contain a QQ state such as {'foo',init,unknown}. Before this fix, all_replica_states did not map such states to a 2-tuple which leads to a crash in maps:from_list because a 3-tuple can't be handled.

A crash in rabbit_quorum_queue:all_replica_states leads to no results being returned from a given node when the CLI asks for QQs with minimum quorum.

Fixes #11514


This is an automatic backport of pull request #11515 done by Mergify.

ra_state may contain a QQ state such as {'foo',init,unknown}.
Perfore this fix, all_replica_states doesn't map such states
to a 2-tuple which leads to a crash in maps:from_list because
a 3-tuple can't be handled.

A crash in rabbit_quorum_queue:all_replica_states leads to no
results being returned from a given node when the CLI asks for
QQs with minimum quorum.

(cherry picked from commit bfedfdc)
@michaelklishin michaelklishin added this to the 3.13.4 milestone Jun 22, 2024
@michaelklishin michaelklishin merged commit 0c89b5b into v3.13.x Jun 22, 2024
@michaelklishin michaelklishin deleted the mergify/bp/v3.13.x/pr-11515 branch June 22, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants