quarkus: GRPC / Panache Reactive Combination causes issues after a couple requests

Describe the bug When invoking Panache Entities via a GRPC Service in a reactive way, the first couple invocations will work but after that all that happens is a “java.lang.IllegalStateException: session is currently connecting to database”

Expected behavior The Panache invocations work until the end of the universe.

Actual behavior After a couple of invocations only “java.lang.IllegalStateException: session is currently connecting to database” is produced. HealthChecks will also fail if present in the project.

To Reproduce

Reproducer: 0SkillAllLuck/code-with-quarkus

Environment (please complete the following information):

  • Output of java -version: openjdk version “11.0.9” 2020-10-20
  • Quarkus version or git rev: 1.11.1.Final
  • Build tool (ie. output of mvnw --version or gradlew --version): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 36 (35 by maintainers)

Commits related to this issue

Most upvoted comments

I’m wondering if the fixes for it are not worth backporting to 1.11. What do you guys think?