From ddbdd3b0df13417df218bfed4cbcc29d254aa780 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 27 Mar 2014 15:53:14 +0100 Subject: [PATCH] Document TTL changes in the 2.6 -> 2.8 migration doc. --- 00-RELEASENOTES | 3 +++ 1 file changed, 3 insertions(+) diff --git a/00-RELEASENOTES b/00-RELEASENOTES index af70bb9b..1c6efcc6 100644 --- a/00-RELEASENOTES +++ b/00-RELEASENOTES @@ -308,6 +308,9 @@ that you should be aware of: The following commands changed behavior: + * The TTL and PTTL commands now return -2 if the key does not exist and + -1 if it exists but has no associated expire. Redis 2.6 and previous + versions used to return -1 for both the conditions. * SORT with ALPHA now sorts according to local collation locale if no STORE option is used. * ZADD/ZINCRBY are now able to accept a bigger range of values as valid