-
Notifications
You must be signed in to change notification settings - Fork 41k
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
HikariCheckpointRestoreLifecycle - new connection opened immediately after stop() #42906
Comments
This seems to be the case in your setup but it's impossible for us to know why based on those logs. Can you please share a small sample we can use to reproduce the problem? |
Sure will try to narrow it down and share a reproducer... |
…part of the snapshot (see also spring-projects/spring-boot#42906)
Figured out that |
Thanks for the PR, let's continue the discussion there. Closing in favor of #42937. |
Despite the open issue brettwooldridge/HikariCP#2082 I had the feeling
HikariCheckpointRestoreLifecycle
would properly close all connections. It turned out though that a new connection is opened directly:This results in stale connections being part of the snapshot as indicated by the warning:
Is there a way to influence this behavior on the Spring Boot end? If not it should be at least mentioned somewhere (maybe on https://docs.spring.io/spring-boot/reference/packaging/checkpoint-restore.html).
The text was updated successfully, but these errors were encountered: