Skip to content

Conversation

@mkuratczyk
Copy link
Contributor

@mkuratczyk mkuratczyk commented Jun 20, 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

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.
@mkuratczyk mkuratczyk marked this pull request as ready for review June 20, 2024 17:57
@michaelklishin michaelklishin merged commit 0b84acd into main Jun 22, 2024
@michaelklishin michaelklishin deleted the issue-11514 branch June 22, 2024 01:42
michaelklishin added a commit that referenced this pull request Jun 22, 2024
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.

rabbit_quorum_queue:all_replica_states doesn't handle some member states

3 participants