Queues running on 3 nodes instead of 5

135 views
Skip to first unread message

Azmi abdul rahman

unread,
Jul 10, 2023, 2:57:53 AM7/10/23
to rabbitmq-users
Hi,

We recently installed a fresh rabbitmq cluster on a fresh 5 rabbitmq nodes in kubernetes. But we noticed the newly created queues are running on 3 nodes instead of all 5 rabbitmq nodes.

We have a similar set up in production where all of the queues run on all 5 rabbitmq nodes.

Why the difference behavior? any ideas?


Rgds
azmi

Michal Kuratczyk

unread,
Jul 10, 2023, 3:14:41 AM7/10/23
to rabbitm...@googlegroups.com
Hi,

I can't find the PR right now, but there was a bug in the past where x-quorum-initial-group-size was effectively ignored and if more nodes were available, the queue would start a member on each node. It could be that you are using an affected version and therefore by default, you get 5-member quorum queues.

Since the issue was fixed, it works the way it's documented: https://www.rabbitmq.com/quorum-queues.html#replication-factor,
so if you want 5-node quorum queues, you need to increase the initial group size (or use rabbitmq-queues grow for existing queues).

Best,


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/5eef399f-fb16-4b5f-9fa9-3b866775c613n%40googlegroups.com.


--
Michał
RabbitMQ team

Azmi abdul rahman

unread,
Jul 10, 2023, 4:32:03 AM7/10/23
to rabbitmq-users
Thank you Michal.

Rgds
azmi

Reply all
Reply to author
Forward
0 new messages