-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Spring Boot 3.4.1 CRaC checkpoint on refresh-error #43635
Comments
Hi, database initialization is performed very early (by design) in the Spring Lifecycle, so even if you configure pool suspension at Hikari level, I suspect @snicoll I think this use case is not supported yet. If you agree that issue should be discussed on Spring Boot side where are triggered the database initialization and where live |
Hey, I've added the config to my application.properties (see below), but it doesn't have an effect. This is weird, because before 3.4.x, it worked like a charm.
|
That would have been an interesting information to share in the original report. Can you provide a small sample we can run ourselves that work with 3.3.x and fail when upgraded to 3.4.x? You can attach a zip to this issue or push the code to a GitHub repository. |
Yeah please add a repro, I am surprised to see a stacktrace involving a database initialization with |
Sure, I'll push two different versions in one repo. |
I found the issue: old application.properties file in the JAR, rebuild helped, sorry :( |
Hi,
I ran into an issue with Spring Boot 3.4.1 and CRaC if I want to generate the snapshot, spring.datasource.hikari.allow-pool-suspension=true is set in application.properties.
The text was updated successfully, but these errors were encountered: