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

New Feature: Delete keys only after it reached it's expiry time #6340

Open
jairaj-jaisankar opened this issue Aug 27, 2019 · 2 comments
Open

Comments

@jairaj-jaisankar
Copy link

Hi,
we were looking for a new feature in Redis like adding one more option while adding a key to a Redis server.
The feature description:-
Adding an option should restrict the Redis from deleting the key until it reached its TTL value.
So, whenever the Redis reaches its maximum memory usage, we need to avoid cleaning these keys until it reaches its TTL.
Thanks

@trevor211
Copy link
Collaborator

What's your POV? @oranagra

@oranagra
Copy link
Member

oranagra commented Nov 2, 2020

@jairaj-jaisankar are you saying redis should prefer evicting non-volatile keys rather than volatile keys?
Whats the use case for that?

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

No branches or pull requests

3 participants