forked from valkey-io/valkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a light weight version of DEBUG OBJECT, add FAST option (valkey-…
…io#881) Adding FAST option to DEBUG OBJECT command. The light version only shows the light weight infomation, which mostly O(1). The pre-existing version that show more stats such as serializedlength sometimes is time consuming. This should allow looking into debug stats (the key expired but not deleted), even on huge object, on which we're afraid to run the command for fear of causing a server freeze. Somehow like 3ca451c. Signed-off-by: Binbin <binloveplay1314@qq.com> Signed-off-by: mwish <maplewish117@gmail.com>
- Loading branch information
1 parent
4096ad2
commit a7b83f3
Showing
1 changed file
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters