Skip to content

Redis session has no expiration set on high load #3357

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

Open
verve111 opened this issue Mar 24, 2025 · 0 comments
Open

Redis session has no expiration set on high load #3357

verve111 opened this issue Mar 24, 2025 · 0 comments
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug

Comments

@verve111
Copy link

Describe the bug
Redis sessions with no expiration time are created even if the ReactiveRedisSessionRepository.setDefaultMaxInactiveInterval(Duration) is set. This happens when the app is high loaded

To Reproduce
Let's load the app using JMeter with 75 threads/users. Each request invokes the endpoint that creates a new session using session.changeSessionId(). About 10 minutes later we should notice that among sessions with ttl set, there is a few sessions with no ttl appear

Expected behavior
If ReactiveRedisSessionRepository.setDefaultMaxInactiveInterval(Duration) then all created sessions should have ttl set, even on high loads

@verve111 verve111 added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant