keys not getting cleared after expire

10 views
Skip to first unread message

deepak paramasivam

unread,
Oct 5, 2015, 10:21:25 AM10/5/15
to Redis DB
Hi,

When we set a expire for a key it is not getting cleared even after expire time. For example

> set hi bye
>expire hi 10
> ttl hi #=>9
(after 10 seconds)
> ttl hi #=>0
>get hi #=>bye

The ttl after expire is 0, which is unusual value for ttl. 

This is a master node in sentinel set up with a single slave. Persistence in turned off. Kindly help me with how to debug this issue.

Josiah Carlson

unread,
Oct 10, 2015, 12:01:08 AM10/10/15
to redi...@googlegroups.com
Which version of Redis are you using? I can't reproduce your issue using the latest 2.8 or 3.0 releases.

 - Josiah

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages