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
HibernateMetricsAutoConfiguration takes a map of String to EMF beans and register metrics. This happening with parallel initialisation means that a deadlock can be happening.
I've moved locally that code to SmartInitializingSingleton#afterSingletonsInstantiated and that did the trick for me but I'd like to confirm that this is the right approach before changing anything in 2.3.x.
snicoll
added a commit
to snicoll/spring-boot
that referenced
this issue
Oct 20, 2020
snicoll
changed the title
Revisit datasource initialization so that the event listener is fully initialized before the EMF lock applies.
Revisit datasource initialization so that no other component block on the EMF while it is being initialized
Oct 20, 2020
Fix for #23735 in
2.3.x
.Given that
2.3.5
has not been released yet, I am flagging this one as a task as a follow-up of #22852.The text was updated successfully, but these errors were encountered: