You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output expected is the list of keys that are least recently used ( according to the Dice DB docs ).
1.) k1
Observed output
The output observed it the 'OK' message.
LRU command eval function
/* /internals/eval/eval.go
evalLRU deletes all the keys from the LRU
returns encoded RESP OK
*/
func evalLRU(args []string, store *dstore.Store) []byte {
dstore.EvictAllkeysLRUOrLFU(store)
return clientio.RespOK
}
The text was updated successfully, but these errors were encountered:
We can have EvictAllKeysLRUorLFU to return the list of keys and send the list to the CLI. Also the doc doesn't mention if the intended usecase is to remove all the LRU keys or just return the list to the clients for their information. @AshwinKul28@JyotinderSingh please let me know your thoughts on this.
Steps to reproduce
Expected output
The output expected is the list of keys that are least recently used ( according to the Dice DB docs ).
Observed output
The output observed it the 'OK' message.
LRU command eval function
The text was updated successfully, but these errors were encountered: