Skip to content

Commit

Permalink
Remove overhead.hashtable.slot-to-keys from memory-stats reply_schema
Browse files Browse the repository at this point in the history
overhead.hashtable.slot-to-keys was added in 7.0 in redis#10017, then removed
in redis#11695. Now remove it from reply_schema.
  • Loading branch information
enjoy-binbin committed Nov 20, 2023
1 parent 4278ed8 commit 0647963
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/commands/memory-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@
},
"overhead.hashtable.expires": {
"type": "integer"
},
"overhead.hashtable.slot-to-keys": {
"type": "integer"
}
},
"additionalProperties": false
Expand Down
1 change: 0 additions & 1 deletion src/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,6 @@ NULL
addReplyLongLong(c,mh->db[j].overhead_ht_expires);
}


addReplyBulkCString(c,"overhead.total");
addReplyLongLong(c,mh->overhead_total);

Expand Down

0 comments on commit 0647963

Please sign in to comment.