Vert.x gets blocked for ordered task execution when quarkus.thread-pool.queue-size
is set
#36530
Labels
quarkus.thread-pool.queue-size
is set
#36530
Describe the bug
The configuration option quarkus.thread-pool.queue-size can be used to make the Quarkus executor thread pool reject threads. I use it for load tests of Keycloak for load shedding in an overload situation.
Due to eclipse-vertx/vert.x#4900 this can lead to the Vert.x TasksQueue to be permanently blocked, when an ordered task is submitted and it is rejected.
This issue is for tracking the current behavior which is included in Vert.x 4.4.x in the current versions of Quarkus. It will be part of the upcoming Vert.x 4.5.0 version (eclipse-vertx/vert.x#4904), and I've asked for backport to 4.4.x (eclipse-vertx/vert.x#4912).
Expected behavior
When setting
quarkus.thread-pool.queue-size
, the task execution shouldn't stall.Actual behavior
The task execution is stalled until the Quarkus application is restarted as a variable is not cleared when the rejected exception is thrown.
How to Reproduce?
See eclipse-vertx/vert.x#4900. For Keycloak, this happend when I called
MutinyHelper.blockingExecutor(vertx)
- see keycloak/keycloak#23919Quarkus version or git rev
3.2.6.Final
The text was updated successfully, but these errors were encountered: