Replies: 1 comment 2 replies
-
It looks like you are either declaring the same queue names in parallel or you have some remnants of a prior failed declaration. Deletes can sometimes fail or timeout which occasionally could leave partial queue "clusters" behind. Make sure that your delete operation in your code succeeds before proceeding with the rest. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Community Support Policy
RabbitMQ version used
4.0.6
Erlang version used
26.2.x
Operating system (distribution) used
linux
How is RabbitMQ deployed?
Generic binary package
rabbitmq-diagnostics status output
See https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 2 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.conf
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
config rabbitmq and start
Steps to reproduce the behavior in question
1、create a classic queue
2、delete classic queue
3、create quorum queue with same name
advanced.config
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code
# PASTE CODE HERE, BETWEEN BACKTICKS
Kubernetes deployment file
What problem are you trying to solve?
We want to change classic queue to quorum queue(without changing the queue's name).
The sample code for switching is as follows:
However, I have noticed that some queues fail to be created and no matter how many times I retry, they cannot be successfully created. The only way to recover is by restarting the RabbitMQ server. The related error messages are as follows:
client receive error message:


create queue with UI:
but creat classic queue with same name success.
Beta Was this translation helpful? Give feedback.
All reactions