netty / netty-incubator-transport-io_uring

Apache License 2.0
193 stars 38 forks source link

Catch completion handler errors #244

Closed chrisvest closed 5 months ago

chrisvest commented 5 months ago

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.