Skip to content

[#523] Minor FlowControlledReplyChannelWriter fix - loop while a completion is pending - #528

Merged
smcvb merged 1 commit into
connector-2026.1.xfrom
bug/523
Oct 20, 2026
Merged

smcvb merged 1 commit into
connector-2026.1.xfrom
bug/523

Conversation

@smcvb

@smcvb smcvb commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

This PR ensures that the FlowControlledReplyChannelWriter also loops while a completion is pending.
Otherwise, a concurrent close() loses the flowGate CAS and returns, so the current gate holder is the only one left to send the completion. By doing the above, this PR addressed #523.

Also loop while a completion is pending. A concurrent close() loses the
flowGate CAS and returns, so the current gate holder is the only one
left to send the completion.
@smcvb
smcvb requested a review from a team October 20, 2026 12:40
@smcvb smcvb self-assigned this Oct 20, 2026
@smcvb
smcvb requested review from MGathier, hjohn, m1l4n54v1c and trimoq and removed request for a team October 20, 2026 12:40
@smcvb
smcvb merged commit 95e705b into connector-2026.1.x Oct 20, 2026
3 checks passed
@smcvb
smcvb deleted the bug/523 branch October 20, 2026 13:17
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.

2 participants