Skip to content

IoUring: Fix incorrect assertion which was triggered when two Channel…#16705

Merged
normanmaurer merged 3 commits into
4.2from
gathering_same_eventloop
Apr 25, 2026
Merged

IoUring: Fix incorrect assertion which was triggered when two Channel…#16705
normanmaurer merged 3 commits into
4.2from
gathering_same_eventloop

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

…s on the same EventLoop did a gathering write

Motivation:

The assertion was in the incorrect place and so was incorrectly triggered when a gathering write was done on two Channel on the same EventLoop without submitting inbetween.

Modification:

  • Move assert in the correct place
  • Add unit test

Result:

No more assertion failure

@normanmaurer
Copy link
Copy Markdown
Member Author

/cc @dreamlike-ocean

@normanmaurer normanmaurer added this to the 4.2.13.Final milestone Apr 24, 2026
@normanmaurer normanmaurer requested a review from chrisvest April 24, 2026 15:32
@normanmaurer
Copy link
Copy Markdown
Member Author

/cc @vietj @tsegismont

@normanmaurer normanmaurer force-pushed the gathering_same_eventloop branch 2 times, most recently from 89513c7 to 75264ae Compare April 24, 2026 15:34
…s on the same EventLoop did a gathering write

Motivation:

The assertion was in the incorrect place and so was incorrectly triggered when a gathering write was done on two Channel on the same EventLoop without submitting inbetween.

Modification:

- Move assert in the correct place
- Add unit test

Result:

No more assertion failure
@normanmaurer normanmaurer force-pushed the gathering_same_eventloop branch from 75264ae to 26d9b2f Compare April 24, 2026 15:35
@tsegismont
Copy link
Copy Markdown
Contributor

Thank you @normanmaurer !

@normanmaurer normanmaurer merged commit 1b77808 into 4.2 Apr 25, 2026
20 checks passed
@normanmaurer normanmaurer deleted the gathering_same_eventloop branch April 25, 2026 07:10
@chrisvest chrisvest added the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jun 5, 2026
@netty-project-bot
Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

@chrisvest chrisvest removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Jun 5, 2026
@chrisvest
Copy link
Copy Markdown
Member

Does this need to be ported to 5.0?

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.

4 participants