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
Labels
type: regression A regression from a previous release
Milestone

Comments

@OlgaMaciaszek
Copy link
Contributor

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 21, 2021
@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 type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 21, 2021
@wilkinsona wilkinsona added this to the 2.3.x milestone Jan 21, 2021
@wilkinsona wilkinsona added type: regression A regression from a previous release and removed type: bug A general bug labels 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
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

3 participants