guybe7 f8ae991717
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)
2020-11-18 11:16:21 +02:00
..
2020-03-23 12:02:12 +01:00
2016-06-15 11:49:49 +02:00
2020-09-13 13:50:23 +03:00
2020-11-17 12:03:05 +02:00
2015-10-09 09:47:17 +02:00
2020-11-05 10:51:26 +02:00
2010-10-15 12:54:53 +02:00
2020-07-28 10:45:21 +03:00