Describe the bug
I read the redis5.0 source code and found that the keys_freed variable in the freeMemoryIfNeeded(void) function of evict.c does not work, it is always less than or equal to 1.
To reproduce
Expected behavior
Additional information
Comment From: oranagra
Yes. This is fixed in unstable and 6.2. We're not back porting non critical fixes to 5.0 at this stage.