Quorum queue replication issue

346 views
Skip to first unread message

Renish Kumar

unread,
Feb 28, 2020, 3:49:00 AM2/28/20
to rabbitmq-users
According to the documentation "By default a quorum queue will start up to five replicas (Raft group members), one per RabbitMQ node in the cluster." 

But in my case I am setting a cluster of seven nodes using the docker and all the nodes are having replica where as according to doc the following line is there:


"For example, a cluster of three nodes will have three replicas, one on each node. In a cluster of seven nodes, five nodes will have one replica each but two nodes won't host any replicas"

I have attached the screenshot of queue info (quorum_cluster1.png)

Now I tried "x-quorum-initial-group-size" to restrict the quorum queue members and it is working fine.

After that I tried
"x-quorum-cluster-size"   to modify the initial replication factor but it is not working . It is taking all type of values including int and string . The screenshot is attached.


And please clarify is there any difference between x-quorum-initial-group-size and x-quorum-cluster-size.


Docker image used : 3.8.2-managment
quorum_cluster1.png
quorum_cluster2.png

Karl Nilsson

unread,
Feb 28, 2020, 4:11:16 AM2/28/20
to rabbitm...@googlegroups.com
Hi,

`x-quorum-cluster-size` was at some point renamed to `x-quorum-initial-cluster-size` but it seems we missed one part of the docs! We will fix this. There is no `x-quorum-cluster-size` - If you want to modify the cluster after declaration you need to use the `rabbitmq-queues` ctl command. [1]


I will also take a look at why the default of 5 isn't being adhered to.

Cheers
Karl

--
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/f7e833e7-8f26-4543-a59c-165cd7b54494%40googlegroups.com.


--
Karl Nilsson

Pivotal/RabbitMQ

Renish Kumar

unread,
Feb 28, 2020, 4:34:37 AM2/28/20
to rabbitmq-users
Thanks Karl  for the information.
It helps a lot.

On Friday, February 28, 2020 at 2:41:16 PM UTC+5:30, Karl Nilsson wrote:
Hi,

`x-quorum-cluster-size` was at some point renamed to `x-quorum-initial-cluster-size` but it seems we missed one part of the docs! We will fix this. There is no `x-quorum-cluster-size` - If you want to modify the cluster after declaration you need to use the `rabbitmq-queues` ctl command. [1]


I will also take a look at why the default of 5 isn't being adhered to.

Cheers
Karl

On Fri, 28 Feb 2020 at 08:49, Renish Kumar <rk08...@gmail.com> wrote:
According to the documentation "By default a quorum queue will start up to five replicas (Raft group members), one per RabbitMQ node in the cluster." 

But in my case I am setting a cluster of seven nodes using the docker and all the nodes are having replica where as according to doc the following line is there:


"For example, a cluster of three nodes will have three replicas, one on each node. In a cluster of seven nodes, five nodes will have one replica each but two nodes won't host any replicas"

I have attached the screenshot of queue info (quorum_cluster1.png)

Now I tried "x-quorum-initial-group-size" to restrict the quorum queue members and it is working fine.

After that I tried
"x-quorum-cluster-size"   to modify the initial replication factor but it is not working . It is taking all type of values including int and string . The screenshot is attached.


And please clarify is there any difference between x-quorum-initial-group-size and x-quorum-cluster-size.


Docker image used : 3.8.2-managment

--
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 rabbitm...@googlegroups.com.


--
Karl Nilsson

Pivotal/RabbitMQ

Michael Klishin

unread,
Feb 28, 2020, 2:18:16 PM2/28/20
to rabbitmq-users
I have updated the docs in [1], will deploy them soon.

Thank you for reporting this typo. Feel free to submit PRs for rabbitmq/rabbitmq-website on GitHub if you find more :)




--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Renish Kumar

unread,
Feb 29, 2020, 11:07:30 PM2/29/20
to rabbitm...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages