summaryrefslogtreecommitdiff
path: root/src/tracking.c
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/tracking.c
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/tracking.c')
-rw-r--r--src/tracking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tracking.c b/src/tracking.c
index c4b534a62..1b04c0626 100644
--- a/src/tracking.c
+++ b/src/tracking.c
@@ -412,7 +412,7 @@ void trackingInvalidateKey(client *c, robj *keyobj, int bcast) {
raxRemove(TrackingTable,(unsigned char*)key,keylen,NULL);
}
-void trackingHandlePendingKeyInvalidations() {
+void trackingHandlePendingKeyInvalidations(void) {
if (!listLength(server.tracking_pending_keys)) return;
listNode *ln;