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] TTL of member #283

Open
hellower opened this issue May 31, 2021 · 2 comments
Open

[NEW] TTL of member #283

hellower opened this issue May 31, 2021 · 2 comments
Labels
feature type new feature

Comments

@hellower
Copy link

hellower commented May 31, 2021

redis> SADD mybasket goods-id
redis> expire mybasket goods-id 10
redis>	1
redis>	expire mybasket goods-id1 goods-id2 goods-id3 10
redis>	3
redis>	sadd myset mem10
redis>	1
redis>	expire myset mem10 5
redis>	1
redis>	ttl myset mem10
redis>	3
redis>	ttl myset mem10
redis>	-2
redis>	smembers myset
redis>	(empty list or set)

This is a feature of redis-enterprise only. (supported data type: SET, ZSET, HASH)

@git-hulk
Copy link
Member

git-hulk commented May 31, 2021

This feature seems really useful in many scenes and supports it shouldn't be hard except having the breaking change. Maybe we can support it in V3, how do you think? @bitleak/kvrocks-core-team

BTW: @hellower welcome to join the slack channel if wants to exchange any thoughts about the kvrocks.

@ShooterIT
Copy link
Member

ShooterIT commented Jun 2, 2021

OK. Let's add this feature request into 3.0 project todo.

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

No branches or pull requests

4 participants