Unable to delete dead binding in dynamic queue #4250
Replies: 4 comments
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
The 404 very likely means that the queue is no longer there, and as such, no bindings on it can be found. Your queue is not just auto-delete, it is server-named. You cannot assume that the name of that queue is stable, e.g. reconnecting clients will generate a new name every time to avoid a race condition with anything RabbitMQ nodes do. This is a fundamental race condition |
Beta Was this translation helpful? Give feedback.
-
I see the |
Beta Was this translation helpful? Give feedback.
-
To clarify some more, we publish only to the exchange so the queue being server-named is fine. The problem is that once we get into this state we find that some messages seem to be routed using the broken bindings to non-existent queues so we are unable to consume them. I will try and isolate this and find a consistent way to recreate it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using Rabbitmq 3.9.13
Deployed via Helm in GKE
We have exchanges with dynamic queues (
autoDelete
) set to true and we're seeing scenarios where bindings get stuck after the queue is deleted. It seems to happen after a rabbitmq node shutdown and comes back up.Here's an exchange that throws a 404 when attempting to delete a binding

From the CLI I can confirm that the queue doesn't exist but the binding does, and I am unable to remove the binding
Beta Was this translation helpful? Give feedback.
All reactions