apache / apache/kvrocks

[NEW] TTL of member

Open
#283 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
4.4k
Forks
658
Avg merge
1d 20h
Merged PRs (30d)
10

Description

```
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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing SET, ZSET, and HASH command implementations and their TTL-related entry points; the issue names no specific files or tests. Done means member-level expiration and TTL behavior matches the examples for all three supported data types, including removal after expiry.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, redis
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.