antirez/redis — Issue #177: Show keys that just expired in MONITOR output
Author: antirez
Created: 2011-11-07 16:26:06+00:00
State: open
Labels: 2.4 merge candidate, approved feature, feature request, more design needed, waiting user input

I think there are two major advantages about this feature:

1) It makes simpler to debug stuff in development environments.
2) It makes users more familiar with the expire semantics of Redis, that is, the fact that it expires keys in a non-lazy way but will expire the key on request when it is accessed and found already expired.

The idea is to just use a non existing command name for the expire, instead of DEL (that is what you will find in the replication link / AOF instead), that makes clear the key expired. I was planning to use simply "expired-key".

I got positive feedbacks on twitter about this feature. This is a 2.4 merge candidate.