-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow Customization of Expiration Policy in RedisIndexedHttpSession #2906
Labels
Milestone
Comments
That problem also happens when using a clustered Redis: since Spring Data Redis only subscribes to events from a single node, events emitted by other nodes are not received, therefore some indexed sessions are not cleaned up. |
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 5, 2024
With this commit it is not possible to customize the expiration policy in RedisIndexedHttpSession Issue spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 6, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Issue spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 6, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Issue spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 7, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Issue spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 7, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Closes spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 7, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Closes spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 9, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Closes spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 9, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Closes spring-projectsgh-2906
marcusdacoregio
added a commit
to marcusdacoregio/spring-session
that referenced
this issue
Aug 12, 2024
With this commit it is now possible to customize the expiration policy in RedisIndexedHttpSession Closes spring-projectsgh-2906
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Similar to https://docs.spring.io/spring-session/reference/3.3/configuration/reactive-redis-indexed.html#how-spring-session-cleans-up-expired-sessions
Currently, if the server is down for some time, the sessions might not be visited to force its expiration.
That happens because the key that holds the information about when the sessions will expire is based on the expected expiration minute, however, if the server is down during the time of that key, some of them might be skipped, resulting in memory usage overhead.
The text was updated successfully, but these errors were encountered: