Skip to content

Spring Session Redis should use Lifecycle instead of DisposableBean #3435

Open
@rwinch

Description

@rwinch

Using DisposableBean is causing conflicts with Spring Data Redis's Connection factories that have migrated to Lifecycle to start/stop connection pools for snapshotting. Lifecycle.stop is invoked too early for Spring Session. Here are a few related tickets:

spring-projects/spring-data-redis#3076
spring-projects/spring-data-redis#2983

We should look into migrating InitializingBean as well.

cc @mp911de

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions