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

Reproducer for quarkus/issues/15025: Quarkus keeps dead database connect #160

Closed
wants to merge 1 commit into from

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Apr 7, 2021

Reproducer for quarkusio/quarkus#15025: Quarkus keeps dead database connections in its connection pool.

The idea is to keep restarting the database and checking the idle connection pool. Before each restart, we need to call the health check endpoint to trigger the issue.

This is working fine in 999-SNAPSHOT, but not in 1.13.0.Final (as expected as the fix is not part of this release):

Works:

mvn clean install

Not work:

mvn clean install -Dquarkus.platform.version=1.13.0.Final -Dquarkus-plugin.version=1.13.0.Final

@Sgitario Sgitario requested a review from kshpak April 7, 2021 12:37
@rsvoboda rsvoboda requested review from pjgg and removed request for kshpak April 7, 2021 15:22
@rsvoboda
Copy link
Member

rsvoboda commented Apr 7, 2021

Kyrylo is sick

@Sgitario
Copy link
Contributor Author

Sgitario commented Apr 8, 2021

Adding "DO NOT MERGE" as it's failing in CI... I'm investigating this.

@Sgitario Sgitario force-pushed the reproducer_15025 branch 2 times, most recently from cff5ce7 to bc9a17a Compare April 8, 2021 13:25
@Sgitario
Copy link
Contributor Author

Sgitario commented Apr 8, 2021

Fixed by adding DB_CLOSE into the jdbc url. It seems that when we stop/start the database connection, this property is necessary.

@Sgitario
Copy link
Contributor Author

Sgitario commented Apr 8, 2021

Closing as stopping/starting the database is making the test unestable.

@Sgitario Sgitario closed this Apr 8, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants