diff options
Diffstat (limited to 'src/cluster.c')
-rw-r--r-- | src/cluster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c index aaad17358..215137505 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -6012,8 +6012,9 @@ clusterNode *getNodeByQuery(client *c, struct redisCommand *cmd, robj **argv, in } /* Migrating / Importing slot? Count keys we don't have. */ + int flags = LOOKUP_NOTOUCH | LOOKUP_NOSTATS | LOOKUP_NONOTIFY; if ((migrating_slot || importing_slot) && - lookupKeyRead(&server.db[0],thiskey) == NULL) + lookupKeyReadWithFlags(&server.db[0], thiskey, flags) == NULL) { missing_keys++; } |