guybe7 02236725af EXISTS should not alter LRU, OBJECT should not reveal expired keys on replica (#8016)
The bug was introduced by #5021 which only attempted avoid EXIST on an
already expired key from returning 1 on a replica.

Before that commit, dbExists was used instead of
lookupKeyRead (which had an undesired effect to "touch" the LRU/LFU)

Other than that, this commit fixes OBJECT to also come empty handed on
expired keys in replica.

And DEBUG DIGEST-VALUE to behave like DEBUG OBJECT (get the data from
the key regardless of it's expired state)

(cherry picked from commit 168dcb549c3d5253fc69d6150ce98f8eb9ca0c99)
2021-01-12 16:25:37 +02:00
..
2020-03-25 15:55:24 +01:00
2016-06-15 11:49:49 +02:00
2020-10-27 09:12:01 +02:00
2015-09-14 12:35:55 +02:00
2015-10-09 09:47:17 +02:00
2010-10-15 12:54:53 +02:00
2020-09-01 09:27:58 +03:00