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

A ContextRefreshedEvent from a child context may result in deadlock when using JPA deferred repositories #24966

Closed
OlgaMaciaszek opened this issue Jan 21, 2021 · 0 comments
Milestone

Comments

@OlgaMaciaszek
Copy link

@OlgaMaciaszek OlgaMaciaszek commented Jan 21, 2021

This change has caused a deadlock issue in OpenFeign. A ContextRefreshedEvent from a child context that we create in OpenFeign is being acted upon in DataSourceInitializedPublisher. Ignoring events from child contexts should solve the issue.

@wilkinsona wilkinsona changed the title JPA deferred repositories: ignore events from child contexts A ContextRefreshedEvent from a child context may result in deadlock when using JPA deferred repositories Jan 21, 2021
@wilkinsona wilkinsona added this to the 2.3.x milestone Jan 21, 2021
@wilkinsona wilkinsona modified the milestones: 2.3.x, 2.3.9 Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants