Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Jul 28, 2024

Fixes #11841

PR #11307 introduced the assertion that at most one credit request between session proc and quorum queue proc can be in flight at any given time. However, this is not the case when rabbit_fifo_client re-sends credit requests on behalf of the session proc when the quorum queue leader changes.

This commit therefore removes assertions which assumed only a single credit request to be in flight.

This commit also removes field queue_flow_ctl.desired_credit since it is redundant to field client_flow_ctl.credit


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

Fixes #11841

PR #11307 introduced the invariant that at most one credit request between
session proc and quorum queue proc can be in flight at any given time.
This is not the case when rabbit_fifo_client re-sends credit
requests on behalf of the session proc when the quorum queue leader changes.

This commit therefore removes assertions which assumed only a single credit
request to be in flight.

This commit also removes field queue_flow_ctl.desired_credit
since it is redundant to field client_flow_ctl.credit

(cherry picked from commit ce915ae)
@mergify mergify bot assigned ansd Jul 28, 2024
@michaelklishin michaelklishin merged commit 8246ad4 into v4.0.x Jul 29, 2024
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-11846 branch July 29, 2024 00:46
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