Quorum queue can not be scaled out accordingly as the rabbitmq cluster has been scaled out from 3 nodes to 5 nodes #1471
-
Hello team, I checked the document: https://www.rabbitmq.com/quorum-queues.html#replica-management Could you please provide the solution how can I do for quorum queues as the cluster has been scaled out. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
It is perfectly valid to have a 5-node cluster with 3-node quorum queues,
so the Operator doesn't make the assumption that you want to scale out all
the quorum queues, just because you added nodes.
What do you want to achieve by adding followers?
You might be interested in the feature coming in 3.13, where quorum queues
membership is evaluated periodically and the queues could grow
automatically (but first, make sure adding followers is what you need).
pull request: rabbitmq/rabbitmq-server#8218
discussed in: https://www.youtube.com/watch?v=_klVJpiimIU
Best,
|
Beta Was this translation helpful? Give feedback.
-
So for now, do I need to manually grow the quorum queues as the cluster scales out ? |
Beta Was this translation helpful? Give feedback.
-
@mkuratczyk Greetings to you. I noticed that 3.13 has been officially released, but I have not found the configuration instructions related to automatically grow. This appears to be a new configuration, so one question is: if it is already supported in the current 2.7.0 rabbitmq-operator ? Also, if my rabbitmq replicas number changes from 3 to 5, and I expect all quorum queues to automatically grow from 1 primary and 2 followers to 1 primary and 4 followers, do I need to set "target_group_size" to 5 at the beginning of deployment manifest file and does this configuration impact replica 3 case ? |
Beta Was this translation helpful? Give feedback.
-
Since the issue was resolved, move on the progress of functional testing. My test steps:
I know that the new rabbitmq version may require more testing to ensure its stability, so the following is just a discussion, not asking work immediately.
|
Beta Was this translation helpful? Give feedback.
-
@mkuratczyk It looks pods are still rolling restart. I'm not sure if the fix: #1610 has been thoroughly addressed the issue. |
Beta Was this translation helpful? Give feedback.
For testing, you can use it now, just use this image:
pivotalrabbitmq/rabbitmq:v3.13.0-beta.6-otp-min-bazel
or
pivotalrabbitmq/rabbitmq:main-otp-min-bazel
(a new beta release will be built soon based onmain
)I don't know if more docs has been written already but the PR and the video should get you started.