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

Conversation

chrisvest
Copy link
Member

Motivation:
We need to catch exceptions from event completions, like epoll and kqueue does. Otherwise the exceptions can propagate to the event loop thread and kill it. This makes it appear stuck or shut down.

Modification:
Catch and log exceptions thrown by IOUringEventLoop.handle.

Result:
The event loop should not get stuck or shut down when a completion event throws an exception.

Motivation:
We need to catch exceptions from event completions, like epoll and kqueue does.
Otherwise the exceptions can propagate to the event loop thread and kill it.
This makes it appear stuck or shut down.

Modification:
Catch and log exceptions thrown by IOUringEventLoop.handle.

Result:
The event loop should not get stuck or shut down when a completion event throws an exception.
@chrisvest chrisvest requested a review from normanmaurer April 24, 2024 22:19
@normanmaurer normanmaurer added this to the 0.0.26.Final milestone Apr 24, 2024
@normanmaurer normanmaurer merged commit f12b064 into main Apr 24, 2024
@normanmaurer normanmaurer deleted the handler-errors branch April 24, 2024 23:38
@andreasdc andreasdc mentioned this pull request Dec 4, 2024
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