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.
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 https://github.com/rabbitmq/rabbitmq-server/issues/11514