kvrocks
kvrocks copied to clipboard
[NEW] TTL of member
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)
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.
OK. Let's add this feature request into 3.0 project todo.