Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unknown QQ state (backport #11515) #11524

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

mergify[bot]
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
323 checks passed
@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.

2 participants