Skip to content

By @noxdafox: Improve rabbit_backing_queue:is_duplicate behaviour (#12913), take 2 #12921

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

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

michaelklishin
Copy link
Collaborator

This is #12913 by @noxdafox, take 2, re-submitted so that Actions have access to all the secrets.

`is_duplicate` callback signature was changed in order to support both
the mirroring queues as well as the de-duplication ones.

As the mirroring queues are now deprecated and removed, we can fall
back to a simpler boolean as return value.

Signed-off-by: Matteo Cafasso <[email protected]>
(cherry picked from commit c927446)
As the de-duplication plugin is the only adopter of the `is_duplicate`
callback, we now use a simpler signature.

When a message is deemed duplicated, we discard it and re-route it to
dead letter exchange.

Signed-off-by: Matteo Cafasso <[email protected]>
(cherry picked from commit f93baa3)
@michaelklishin
Copy link
Collaborator Author

In case (hopefully) we decide to backport this to v4.0.x: ignore the Selenium-based suite failures, those workflows need to be updated to use Make in v4.0.x.

@michaelklishin michaelklishin merged commit 22d6e74 into main Dec 12, 2024
273 checks passed
@michaelklishin michaelklishin deleted the rabbitmq-server-12913 branch December 12, 2024 15:53
@michaelklishin
Copy link
Collaborator Author

There were some Actions build environment changes that we need to address first before we can backport this potentially risky change.

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.

2 participants