You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SORT … STORE onto a key with a TTL keeps the TTL; Redis clears it #201
SORT src ... STORE dst replaces dst's value but leaves its time to live in place. Redis treats the store as a new key and clears any TTL dst had.
SET dst x
EXPIRE dst 100
RPUSH src 3 1 2
SORT src STORE dst
TTL dst
Redis replies -1 to the last command. KiviDB replies the remaining seconds (about 100), so dst still expires.
This isn't new: 1.1.2 and current master behave the same way. Found while moving TTLs into the key's entry (the memory-per-key work). Expected: SORT ... STORE (and SORT_RO, which has no STORE, is unaffected) removes the destination's TTL, as Redis does.
Activity
agnarrarendelle commentedon Oct 30, 2026
Hi, I'll handle this issue
murtazayusuf commentedon Oct 30, 2026
@agnarrarendelle can you take #204 instead?