Unverified Commit 62a19751 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

key miss stat increment was misplaced (#8630)

The implication is that OBJECT command would was not updating stat_keyspace_misses
parent 95d6297d
......@@ -139,9 +139,9 @@ robj *lookupKeyReadWithFlags(redisDb *db, robj *key, int flags) {
keymiss:
if (!(flags & LOOKUP_NONOTIFY)) {
server.stat_keyspace_misses++;
notifyKeyspaceEvent(NOTIFY_KEY_MISS, "keymiss", key, db->id);
}
server.stat_keyspace_misses++;
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment