Skip to content

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

Closed
@OlgaMaciaszek

Description

@OlgaMaciaszek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionA regression from a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions