You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Linux machine with the current version of r2dbc-postgresql on master (1.0.0.BUILD-SNAPSHOT built locally) my database calls fail with the following error:
io.netty.channel.epoll.EpollEventLoop handleLoopException
WARNING: Unexpected exception in the selector loop.
io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Steps to reproduce
I suppose any query will have this problem on Linux, but I used this in particular in Scala 3
valresult= factory.create.flux
.flatMap(_.createStatement("DELETE FROM items").execute)
.flatMap(_.getRowsUpdated)
.collectList.block
mp911de
changed the title
Netty error - epoll_wait() not implemented on Linux
Upgrade to netty 4.1.77.Final to address epoll_wait() not implemented on Linux
May 24, 2022
The workaround is to add a dependency to your project that would force the use of newer netty-transport-native-epoll version. In particular for sbt (Scala) it would look like this:
Bug Report
Versions
Current Behavior
On my Linux machine with the current version of
r2dbc-postgresql
on master (1.0.0.BUILD-SNAPSHOT built locally) my database calls fail with the following error:Steps to reproduce
I suppose any query will have this problem on Linux, but I used this in particular in Scala 3
And here's the link to a repo with the example https://github.com/jczuchnowski/r2dbc-example
Possible Solution
This problem was probably solved here netty/netty#12343 with version of Netty 4.1.77.Final but
r2dbc-postgresql
is transitively using 4.1.76.Final.The text was updated successfully, but these errors were encountered: