addReplyError(c,"A non-LFU maxmemory policy is selected, access frequency not tracked. Please note that when switching between policies at runtime LRU and LFU data will take some time to adjust.");
addReplyError(c,"An LFU maxmemory policy is not selected, access frequency not tracked. Please note that when switching between policies at runtime LRU and LFU data will take some time to adjust.");
return;
return;
}
}
addReplyLongLong(c,o->lru&255);
/* LFUDecrAndReturn should be called
* in case of the key has not been accessed for a long time,
* because we update the access time only
* when the key is read or overwritten. */
addReplyLongLong(c,LFUDecrAndReturn(o));
}else{
}else{
addReplyErrorFormat(c,"Unknown subcommand or wrong number of arguments for '%s'. Try OBJECT help",
addReplyErrorFormat(c,"Unknown subcommand or wrong number of arguments for '%s'. Try OBJECT help",