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
Further analysis:
From here new child context is being created, which triggers ContextRefreshedEvent. DataSourceInitializedPublisherlistens on this event and tries to get dataSourceInitialization future. This is causing a deadlock. dataSourceIniitialization is being initialized within the postProcessEntityManagerFactory method.
Spring Cloud version "Hoxton.SR9"
Under some condition deadlock happens with Openfeign + deferred JPA repository. I can reproduce the case only in tests.
I created a simple project to reproduce the problem: https://github.com/michaldo/feign-jpa-deffered-deadlock
I think the same case is reported on https://stackoverflow.com/questions/65078382/spring-boot-context-load-test-hangs
I guess the reason is that
FeignClientFactoryBean
does not extendAbstractFactoryBean
The text was updated successfully, but these errors were encountered: