Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Conversation

@normanmaurer
Copy link
Member

Motivation:

We did not correctly fill the submission entry for IORING_OP_TIMEOUT which could lead to timeouts firing to early. We need to use a count of 1 when submitting these as we want to notify once either there is one completion ready to process or when the timeout elapsed.

Modifications:

Correctly fill submission entry

Result:

IoUringEventLoop.run() will block for the correct amount of time.
This is a port of netty/netty#14712

Motivation:

We did not correctly fill the submission entry for IORING_OP_TIMEOUT which could lead to timeouts firing to early. We need to use a count of 1 when submitting these as we want to notify once either there is one completion ready to process or when the timeout elapsed.

Modifications:

Correctly fill submission entry

Result:

IoUringEventLoop.run() will block for the correct amount of time.
This is a port of netty/netty#14712
@normanmaurer normanmaurer added this to the 0.0.27.Final milestone Jan 23, 2025
Copy link
Contributor

@franz1981 franz1981 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@normanmaurer normanmaurer merged commit da7e4b2 into main Jan 23, 2025
7 of 8 checks passed
@normanmaurer normanmaurer deleted the timeout_fix branch January 23, 2025 10:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants