summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-10-02 18:56:45 +0800
committerGitHub <noreply@github.com>2022-10-02 13:56:45 +0300
commit3c02d1acc499bf5391d904924219450f0ff2d45a (patch)
tree8540b35cc06de7498d1da5ed693bbde81283b670 /src/commands
parent2804eefc58be6bfe3657e64cf3bdadd59549464a (diff)
downloadredis-3c02d1acc499bf5391d904924219450f0ff2d45a.tar.gz
code, typo and comment cleanups (#11280)
- fix `the the` typo - `LPOPRPUSH` does not exist, should be `RPOPLPUSH` - `CLUSTER GETKEYINSLOT` 's time complexity should be O(N) - `there bytes` should be `three bytes`, this closes #11266 - `slave` word to `replica` in log, modified the front and missed the back - remove useless aofReadDiffFromParent in server.h - `trackingHandlePendingKeyInvalidations` method adds a void parameter
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cluster-getkeysinslot.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cluster-getkeysinslot.json b/src/commands/cluster-getkeysinslot.json
index 97c3a3b8e..06c1b03c8 100644
--- a/src/commands/cluster-getkeysinslot.json
+++ b/src/commands/cluster-getkeysinslot.json
@@ -1,7 +1,7 @@
{
"GETKEYSINSLOT": {
"summary": "Return local key names in the specified hash slot",
- "complexity": "O(log(N)) where N is the number of requested keys",
+ "complexity": "O(N) where N is the number of requested keys",
"group": "cluster",
"since": "3.0.0",
"arity": 4,