Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Oct 7, 2024

Fixes a pattern matching bug for discards that come in after a consumer has been cancelled. Because the rabbit_fifo_client does not keep the integer consumer key after cancellation, late acks, returns, and discards use the full {CTag, Pid} consumer id version.

As this is a state machine change the machine version has been increased to 5.

The same bug is present for the modify command also however as AMQP does not allow late settlements we don't have to make this fix conditional on the machine version as it cannot happen.

Fixes: #12424


This is an automatic backport of pull request #12442 done by Mergify.

Fixes a pattern matching bug for discards that come in after a consumer
has been cancelled. Because the rabbit_fifo_client does not keep
the integer consumer key after cancellation, late acks, returns, and
discards use the full {CTag, Pid} consumer id version.

As this is a state machine change the machine version has been
increased to 5.

The same bug is present for the `modify` command also however as
AMQP does not allow late settlements we don't have to make this
fix conditional on the machine version as it cannot happen.

(cherry picked from commit 2339401)
@michaelklishin michaelklishin merged commit 00666e2 into v4.0.x Oct 7, 2024
231 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-12442 branch October 7, 2024 17:50
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