Skip to content

Conversation

@dcorbacho
Copy link
Contributor

@dcorbacho dcorbacho commented Oct 20, 2025

  • Revert fix to AMQP1.0 message rejection until a decision is taken on the optimal behaviour for all shovels
  • Use 'last_acked_tag' to keep track of acked/nacked messages

@dcorbacho dcorbacho added this to the 4.2.0 milestone Oct 20, 2025
@dcorbacho dcorbacho changed the title Shovels: revert bugfix Shovels bugfixes Oct 20, 2025
[Why]
The clause above the new one in `close_sent/3` was already handling the
fact that the remote process could exit during the close "handshake".
But the remote process could terminate with `{shutdown, Reason}` in
addition to `shutdown`, where `Reason` is `delete` or `autodelete` for
instance.

[How]
We handle `{shutdown, _}` exactly as `shutdown`.

This was detected by frequent failures in CI.
@michaelklishin michaelklishin modified the milestones: 4.2.0, 4.3.0 Oct 20, 2025
@michaelklishin michaelklishin merged commit 2bacf71 into main Oct 20, 2025
574 of 575 checks passed
@michaelklishin michaelklishin deleted the shovel-revert-fix branch October 20, 2025 14:56
michaelklishin added a commit that referenced this pull request Oct 20, 2025
michaelklishin added a commit that referenced this pull request Oct 20, 2025
michaelklishin added a commit that referenced this pull request Oct 21, 2025
(cherry picked from commit 5518a92)

Conflicts:
  deps/rabbitmq_shovel/test/shovel_dynamic_SUITE.erl
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.

4 participants