Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatasourceHealthIndicator consumes all the DB connections from the pool when used with Exposed Spring Boot starter #1077

Closed
antonlakida opened this issue Oct 23, 2020 · 1 comment

Comments

@antonlakida
Copy link

In one of our services we are using Exposed as query mapping framework.
Lately we found out that on our environments where the Actuator health
check is used, application eventually runs out of free DB connections.

We tried to reproduce it and it looks like the DataSourceHealthIndicator
does not return the connection to the pool, but only when used together
with Exposed.

This is tested with Kotlin 1.3-1.4, Exposed 0.26.2-0.28.1

Example project that reproduces the issue

Tapac added a commit that referenced this issue Oct 24, 2020
@Tapac
Copy link
Contributor

Tapac commented Oct 24, 2020

Thank you for providing the example project as it helps to localize the problem.

It fixed in master and will be available with the next release.

@Tapac Tapac closed this as completed Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants