gulaftab / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Expiry documentation outdated #514

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Redis you are using, in what kind of Operating System?

2.2, OpenBSD

What is the problem you are experiencing?

http://redis.io/topics/expire says repeated EXPIRE commands have no effect on 
already volatile keys.  They do, they reset the timeout.

What steps will reproduce the problem?

run EXPIRE, wait a bit, run again, repeat.  Observe key not expiring.

This was apparently the old behavior and it's changed now, but the 
documentation doesn't so say.  Also, the old behavior was actually useful in 
some situations; if it's possible to bring it back or emulate it somehow.

Original issue reported on code.google.com by ted.unan...@gmail.com on 6 Apr 2011 at 6:08