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

Durable sessions across restarts #28265

Open
17 of 32 tasks
ahus1 opened this issue Mar 28, 2024 · 5 comments
Open
17 of 32 tasks

Durable sessions across restarts #28265

ahus1 opened this issue Mar 28, 2024 · 5 comments

Comments

@ahus1
Copy link
Contributor

ahus1 commented Mar 28, 2024

Description

This epic tracks the progress of having durable sessions across Keycloak restarts

Discussion

Motivation

No response

Tasks

  1. kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  2. area/core kind/enhancement release/25.0.0 team/core-shared team/cross-dc
    ahus1
  3. kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  4. kind/enhancement release/25.0.0
    ahus1
  5. kind/bug release/25.0.0
    mhajas
  6. release/25.0.0
    mhajas
  7. release/25.0.0
    mhajas
  8. release/25.0.0
    mhajas
  9. kind/task release/25.0.0
    mhajas
  10. kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  11. area/docs release/25.0.0 team/cross-dc
    ahus1
  12. kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  13. area/docs kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  14. kind/enhancement release/25.0.0 team/cross-dc
    ahus1
  15. kind/enhancement release/25.0.0 team/cross-dc
  16. kind/bug priority/important release/25.0.1 release/26.0.0 team/cross-dc
    ahus1
  17. kind/enhancement status/triage team/cross-dc
    ahus1

Optional Tasks

  1. area/infinispan area/oidc help wanted kind/bug priority/normal status/auto-bump team/core-clients team/cross-dc
  2. kind/enhancement team/cross-dc
@ahus1
Copy link
Contributor Author

ahus1 commented Apr 2, 2024

For all those watching this: There is now a GitHub discussion to capture user feedback, and provide additional information on how to try it out using the nightly releases: #28271

@ahus1
Copy link
Contributor Author

ahus1 commented Apr 30, 2024

As part of #28862 we're bundling JPA activities for user and client sessions, as well as for online and offline sessions when running under high load. Therefore I'm moving "Bundling session updates in on database transaction (user+client session, offline+online sessions)" to optional tasks.

@istvano
Copy link

istvano commented May 2, 2024

Hi @ahus1
I am not sure if this was requested but if we are moving the sessions to the DB, I am also sure we need to build some sort of clean up as well. Would it be possible to add an Keycloak EVENT as well to keep track of which sessions have been removed so that we can keep track of them using external CIAM or scripts?

@ahus1
Copy link
Contributor Author

ahus1 commented May 2, 2024

@istvano - it hasn't been requested to create events for this. A cleanup that deletes those entries already exists, but it is a simple delete from the database.

The events would be an enhancement.

Please search the existing issues, and if none exists create an enhancement issue. The issue should contain a list of all the details the new event should contain, and you also might suggest a name for it.

To prioritize the issue, it would be good to describe the scenarios where this is helpful. Just sending those events to another system is IMHO only means to an end that you didn't describe in your comment above, yet. With that end in mind, prioritization is then a simpler task, and is more likely to get the results you want to see.

Then post the issue number here. I'll then add it to the tasks above.

It might not be part of the first implementation, but let's see.

@ahus1
Copy link
Contributor Author

ahus1 commented May 6, 2024

The now default and only configuration is run this with caching only, so I removed the comparison of with and without from the optional tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants