]> git.saurik.com Git - redis.git/commitdiff
added comment about SETSLOT NODE form.
authorantirez <antirez@gmail.com>
Thu, 29 Sep 2011 13:26:01 +0000 (15:26 +0200)
committerantirez <antirez@gmail.com>
Thu, 29 Sep 2011 13:26:01 +0000 (15:26 +0200)
src/cluster.c

index 30b0946f315727945f2146a1605680919961b664..ed07a84fa31241a45d0afeeee4c6e739c9465e58 100644 (file)
@@ -1240,9 +1240,10 @@ void clusterCommand(redisClient *c) {
         clusterSaveConfigOrDie();
         addReply(c,shared.ok);
     } else if (!strcasecmp(c->argv[1]->ptr,"setslot") && c->argc >= 4) {
-        /* SETSLOT 10 MIGRATING <instance ID> */
-        /* SETSLOT 10 IMPORTING <instance ID> */
+        /* SETSLOT 10 MIGRATING <node ID> */
+        /* SETSLOT 10 IMPORTING <node ID> */
         /* SETSLOT 10 STABLE */
+        /* SETSLOT 10 NODE <node ID> */
         int slot;
         clusterNode *n;