Skip to content

Upgrade to netty 4.1.77.Final to address epoll_wait() not implemented on Linux #514

@jczuchnowski

Description

@jczuchnowski

Bug Report

Versions

  • Driver: 1.0.0.BUILD-SNAPSHOT
  • Database: PostgreSQL 14
  • Java: OpenJDK 11.0.15
  • OS: Manjaro Linux (5.4.192-1-MANJARO)

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:

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

val result = factory.create.flux
    .flatMap(_.createStatement("DELETE FROM items").execute)
    .flatMap(_.getRowsUpdated)
    .collectList.block

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions