Skip to content

Assert that quorum queues are always durable and non-autodelete on initialization #14305

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ayanda-D
Copy link
Contributor

Proposed Changes

Hi folks, the code path for QQ declaration in start_cluster/1 can make it seem like durability is variable (i.e. check is already done by rabbit_queue_type_util:check_non_durable/1). Just adding this assertion/cosmetic change to make things a bit more clear that Durable is always true.

Types of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause an observable behavior change in existing systems)
  • Documentation improvements (corrections, new content, etc)
  • Cosmetic change (whitespace, formatting, etc)
  • Build system and/or CI

Checklist

Put an x in the boxes that apply.
You can also fill these out after creating the PR.
If you're unsure about any of them, don't hesitate to ask on the mailing list.
We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING.md document
  • I have signed the CA (see https://cla.pivotal.io/sign/rabbitmq)
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally with my changes
  • If relevant, I have added necessary documentation to https://github.com/rabbitmq/rabbitmq-website
  • If relevant, I have added this change to the first version(s) in release-notes that I expect to introduce it

Further Comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution
you did and what alternatives you considered, etc.

@Ayanda-D Ayanda-D changed the title Assert that quorum queues are always durable on initialization Assert that quorum queues are always durable and non-autodelete on initialization Jul 29, 2025
@Ayanda-D
Copy link
Contributor Author

Likewise AutoDelete = false, checked in rabbit_queue_type_util:check_auto_delete/1.

@michaelklishin michaelklishin added this to the 4.2.0 milestone Jul 29, 2025
@michaelklishin
Copy link
Collaborator

@Ayanda-D before we can accept this contribution, can you please ask your employer to sign our CLA? Thanks.

@Ayanda-D
Copy link
Contributor Author

@michaelklishin ok, I sent to the relevant people. waiting for feedback (not sure how long it'll take 👀 ).

cc: @willhoy @mlongob

@michaelklishin
Copy link
Collaborator

@Ayanda-D sure, I understand that it will take some time.

Fortunately, it has to be done once per company, not once per employee.

@justaugustus
Copy link

@Ayanda-D before we can accept this contribution, can you please ask your employer to sign our CLA? Thanks.

[Bloomberg Open Source Program Office here]

Hey @michaelklishin — can you confirm the instructions for signing the CLA?

In all likelihood, we have previously signed a Pivotal CCLA. Could you confirm if that qualifies here?
Feel free to reach out to me either here or at opensource [at] bloomberg dot net.

@michaelklishin
Copy link
Collaborator

@justaugustus the PR template is out of date. Please use https://github.com/rabbitmq/cla.

As for opensource [at] broadcom, we don't yet know how legal would prefer us to collect the signed documents, so I've specified our team's address that is publicly available (Broadcom mailing lists are often not, sadly).

We will pass the signed document to legal one way or another.

@justaugustus
Copy link

Sounds good, @michaelklishin! We'll keep you posted.


Opened an issue for fixing the stale CLA instructions: #14327

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants