From 7410d985bca8a12d5f72a3bf4dde0eb0510b4446 Mon Sep 17 00:00:00 2001 From: Binbin Date: Sun, 10 Dec 2023 15:46:21 +0800 Subject: [PATCH] Remove overhead.hashtable.slot-to-keys from memory-stats reply_schema (#12784) overhead.hashtable.slot-to-keys was added in 7.0 in #10017, then removed in #11695. Now remove it from reply_schema. --- src/commands/memory-stats.json | 3 --- src/object.c | 1 - 2 files changed, 4 deletions(-) diff --git a/src/commands/memory-stats.json b/src/commands/memory-stats.json index de82dc8cc..83a6cd324 100644 --- a/src/commands/memory-stats.json +++ b/src/commands/memory-stats.json @@ -108,9 +108,6 @@ }, "overhead.hashtable.expires": { "type": "integer" - }, - "overhead.hashtable.slot-to-keys": { - "type": "integer" } }, "additionalProperties": false diff --git a/src/object.c b/src/object.c index 930dd1a1d..bf85c7cc1 100644 --- a/src/object.c +++ b/src/object.c @@ -1600,7 +1600,6 @@ NULL addReplyLongLong(c,mh->db[j].overhead_ht_expires); } - addReplyBulkCString(c,"overhead.total"); addReplyLongLong(c,mh->overhead_total);