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
We're using Carmine 2.19.0, and it seems that the connection pools are blocking the Java process from exiting. I have created a minimal project demonstrating the problem here, along with a description of the behaviour: https://github.com/tetigi/carmine-issue
Have confirmed that the blocking happens on two different devices, on Java 8, 9 and 10. Downgrading Carmine to 2.18.2 or not creating a thread pool (:pool :none) fixes the problem.
Still trying to figure out what the exact problem with commons-pool2 is. Seems like it was introduced in this commit: b850ebb
The text was updated successfully, but these errors were encountered:
Hi there, thanks for the report. Confirmed on my end.
Looks like an upstream bug from commons-pool. Since we don't actually need the newest version, will issue a hotfix shortly that reverts the version bump update.
Seems that there's an issue with newer commons-pool releases
(incl. 2.5.0 and 2.6.0 from what I can tell) that prevents JVM
shutdown - for example during `lein uberjar`.
A quick look at the commons-pool issues turned this up:
https://issues.apache.org/jira/browse/POOL-348
Since there's no particular need for Carmine to use the newer
versions, will revert the update in the meantime.
Hey there -
We're using Carmine 2.19.0, and it seems that the connection pools are blocking the Java process from exiting. I have created a minimal project demonstrating the problem here, along with a description of the behaviour: https://github.com/tetigi/carmine-issue
Have confirmed that the blocking happens on two different devices, on Java 8, 9 and 10. Downgrading Carmine to 2.18.2 or not creating a thread pool (
:pool :none
) fixes the problem.Still trying to figure out what the exact problem with commons-pool2 is. Seems like it was introduced in this commit: b850ebb
The text was updated successfully, but these errors were encountered: