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.
Signed-off-by: Chen Tianjie <[email protected]>
- Loading branch information
1 parent
cc94c98
commit 22dcebc
Showing
19 changed files
with
644 additions
and
55 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"GET": { | ||
"summary": "Returns the fat log's entries.", | ||
"complexity": "O(N) where N is the number of entries returned", | ||
"group": "server", | ||
"since": "7.2.5", | ||
"arity": -2, | ||
"container": "FATLOG", | ||
"function": "heavyLoadLogCommand", | ||
"history": [], | ||
"command_flags": [ | ||
"ADMIN", | ||
"LOADING", | ||
"STALE" | ||
], | ||
"command_tips": [ | ||
"REQUEST_POLICY:ALL_NODES", | ||
"NONDETERMINISTIC_OUTPUT" | ||
], | ||
"reply_schema": { | ||
"type": "array", | ||
"description": "Entries from the slow log in chronological order.", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "array", | ||
"minItems": 6, | ||
"maxItems": 6, | ||
"items": [ | ||
{ | ||
"type": "integer", | ||
"description": "Fat log entry ID." | ||
}, | ||
{ | ||
"type": "integer", | ||
"description": "The unix timestamp at which the logged command was processed.", | ||
"minimum": 0 | ||
}, | ||
{ | ||
"type": "integer", | ||
"description": "The size of the response to the query in bytes.", | ||
"minimum": 0 | ||
}, | ||
{ | ||
"type": "array", | ||
"description": "The arguments of the command.", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"type": "string", | ||
"description": "Client IP address and port." | ||
}, | ||
{ | ||
"type": "string", | ||
"description": "Client name if set via the CLIENT SETNAME command." | ||
} | ||
] | ||
} | ||
}, | ||
"arguments": [ | ||
{ | ||
"name": "count", | ||
"type": "integer", | ||
"optional": true | ||
} | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"HELP": { | ||
"summary": "Show helpful text about the different subcommands", | ||
"complexity": "O(1)", | ||
"group": "server", | ||
"since": "7.2.5", | ||
"arity": 2, | ||
"container": "FATLOG", | ||
"function": "heavyLoadLogCommand", | ||
"command_flags": [ | ||
"LOADING", | ||
"STALE" | ||
], | ||
"reply_schema": { | ||
"type": "array", | ||
"description": "Helpful text about subcommands.", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"LEN": { | ||
"summary": "Returns the number of entries in the fat log.", | ||
"complexity": "O(1)", | ||
"group": "server", | ||
"since": "7.2.5", | ||
"arity": 2, | ||
"container": "FATLOG", | ||
"function": "heavyLoadLogCommand", | ||
"command_flags": [ | ||
"ADMIN", | ||
"LOADING", | ||
"STALE" | ||
], | ||
"command_tips": [ | ||
"REQUEST_POLICY:ALL_NODES", | ||
"RESPONSE_POLICY:AGG_SUM", | ||
"NONDETERMINISTIC_OUTPUT" | ||
], | ||
"reply_schema": { | ||
"type": "integer", | ||
"description": "Number of entries in the fat log.", | ||
"minimum": 0 | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"RESET": { | ||
"summary": "Clears all entries from the fat log.", | ||
"complexity": "O(N) where N is the number of entries in the fatlog", | ||
"group": "server", | ||
"since": "7.2.5", | ||
"arity": 2, | ||
"container": "FATLOG", | ||
"function": "heavyLoadLogCommand", | ||
"command_flags": [ | ||
"ADMIN", | ||
"LOADING", | ||
"STALE" | ||
], | ||
"command_tips": [ | ||
"REQUEST_POLICY:ALL_NODES", | ||
"RESPONSE_POLICY:ALL_SUCCEEDED" | ||
], | ||
"reply_schema": { | ||
"const": "OK" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"FATLOG": { | ||
"summary": "A container for fat log commands.", | ||
"complexity": "Depends on subcommand.", | ||
"group": "server", | ||
"since": "7.2.5", | ||
"arity": -2 | ||
} | ||
} |
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
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
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
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
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
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
Oops, something went wrong.