Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Khepri, transient exclusive queues are not deleted in case of a partition #12597

Open
luos opened this issue Oct 28, 2024 · 0 comments
Open
Labels

Comments

@luos
Copy link
Contributor

luos commented Oct 28, 2024

Describe the bug

Hi,

In a Khepri cluster if a node becomes partitioned, classic queues which get deleted due to the partition - do not get cancelled.

I am not sure if this is the intended behaviour - but in this case basically in a cluster no other than qq and streams are usable.

Reproduction steps

  1. 3 node cluster, enable khepri, RabbitMQ 4.0.2
  2. Create a transient exclusive queue on each node and attach a consumer
  3. Create a partition on one of the nodes (full partition, but expect the same happens in case of a partial partition)
  4. The node becomes partitioned
  5. a. Queue gets deleted on majority partition
  6. b. Queue stays running on minority partition
  7. Remove the partition
  8. Minority node syncs with khepri, queue disappears
  9. No notification to the consumer on minority node that the queue no longer exists

Expected behavior

Any or all of the following: :-)

a. Client gets notified about the queue deletion
b. Queue is not deleted as the consumer was not disconnected
c. Something akin to pause_minority
d. Clarification of the intended use of transient exclusive queues in a cluster
e. Specified behaviour in case of partial partition as well

Additional context

  • The queue process is still running, even though the queue is deleted from khepri. (which is understandable, I am just noting it here).
@luos luos added the bug label Oct 28, 2024
@michaelklishin michaelklishin changed the title Transient exclusive queues with Khepri do not get cancelled in case of partition With Khepri, transient exclusive queues are not deleted in case of a partition Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant