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

Remove pre-implicit_default_bindings compatibility code #5390

Conversation

ansd
Copy link
Member

@ansd ansd commented Jul 29, 2022

Implicit default bindings, introduced in RabbitMQ 3.8.x, was a breaking change protected behind a feature flag. This allowed a RabbitMQ cluster to be upgraded one node at a time, without having to stop the entire cluster.

The compatibility code is in the wild for long enough. The implicit_default_bindings feature flag was marked as required in a
previous commit (see #5202). This allows us to remove code in this patch.

References #5215.

Note that we rely here on dirty Mnesia operations of the removed migration function to have done its job (of removing default exchange binding rows).

@ansd ansd marked this pull request as ready for review July 29, 2022 11:05
@ansd ansd marked this pull request as draft July 29, 2022 11:17
@ansd ansd force-pushed the remove-pre-implicit_default_bindings-ff-compatibility-code branch 2 times, most recently from 8d21c39 to 244efd8 Compare July 29, 2022 13:29
ansd added 2 commits July 29, 2022 15:03
Implicit default bindings, introduced in RabbitMQ 3.8.x, was a breaking change
protected behind a feature flag. This allowed a RabbitMQ cluster to be
upgraded one node at a time, without having to stop the entire cluster.

The compatibility code is in the wild for long enough. The
`implicit_default_bindings` feature flag was marked as required in a
previous commit (see #5202). This allows us to remove code in this
patch.

References #5215.
…ings

The feature flag is required.

References #5215.
@ansd ansd force-pushed the remove-pre-implicit_default_bindings-ff-compatibility-code branch from 244efd8 to 32e118f Compare July 29, 2022 15:04
@ansd ansd marked this pull request as ready for review July 29, 2022 15:04
@michaelklishin michaelklishin merged commit 7980ee8 into master Jul 29, 2022
@michaelklishin michaelklishin deleted the remove-pre-implicit_default_bindings-ff-compatibility-code branch July 29, 2022 16:30
michaelklishin added a commit that referenced this pull request Jul 29, 2022
Remove pre-implicit_default_bindings compatibility code (backport #5390)
dumbbell pushed a commit that referenced this pull request Aug 4, 2022
…ndings-ff-compatibility-code

Remove pre-implicit_default_bindings compatibility code

(cherry picked from commit 7980ee8)
@dumbbell
Copy link
Member

dumbbell commented Aug 4, 2022

The backport was repeated in #5439.

dumbbell added a commit that referenced this pull request Aug 4, 2022
Remove pre-implicit_default_bindings compatibility code (backport #5390)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove compatibility code after RabbitMQ 3.8.x feature flags are made required
3 participants