Skip to content
Discussion options

You must be logged in to vote

You haven't provided any evidence that snippets in rabbit_andqueue_process are relevant. When a queue process stops, it updates the schema data store. The only way a client can observe this is if it tries to re-declare the queue as it is being deleted concurrently. Then the behavior can indeed be confusing

In fact, this is a fairly well known scenario:

  1. A client with an exclusive queue with a well-known name (that is, not server-generated) loses connection with (while using an exclusive queue EQ)
  2. RabbitMQ starts deleting EQ
  3. The client concurrently reconnects and tries to redeclare it

So the client tries to consume from a queue it thought it's just declared but the queue was concurrently …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@dormanze
Comment options

@michaelklishin
Comment options

@dormanze
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants