[Questions] quorum queue create filed #14457
-
Community Support Policy
RabbitMQ version used4.0.6 Erlang version used26.2.x Operating system (distribution) usedlinux How is RabbitMQ deployed?Generic binary package rabbitmq-diagnostics status outputSee 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.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ clusterconfig rabbitmq and start Steps to reproduce the behavior in question1、create a classic queue advanced.configSee 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# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?We want to change classic queue to quorum queue(without changing the queue's name).
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: |
Beta Was this translation helpful? Give feedback.
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.
@dormanze you were told what to do: remove the queue first, e.g. with
rabbitmqctl delete_queue
, which can handle several potential failure scenarios and force delete the queue record.RabbitMQ
4.0.x
is out of community support, so without a repeatable way to reproduce against4.1.x
ormain
, that's all we can suggest.