]> git.saurik.com Git - redis.git/blobdiff - src/cluster.c
Fixed problem in cluster redirection due to a stupid typo
[redis.git] / src / cluster.c
index b77a61b0601b7131b80ca9f8164befca79b56b51..1d39d3e81beac925953786d333cab224111b311d 100644 (file)
@@ -1650,7 +1650,7 @@ clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **arg
         margv = ms->commands[i].argv;
 
         keyindex = getKeysFromCommand(mcmd,margv,margc,&numkeys,
-                                      REDIS_GETKEYS_PRELOAD);
+                                      REDIS_GETKEYS_ALL);
         for (j = 0; j < numkeys; j++) {
             if (firstkey == NULL) {
                 /* This is the first key we see. Check what is the slot