Commit 3b5289a0 authored by antirez's avatar antirez
Browse files

added comment about SETSLOT NODE form.

parent 7afc3a96
...@@ -1240,9 +1240,10 @@ void clusterCommand(redisClient *c) { ...@@ -1240,9 +1240,10 @@ void clusterCommand(redisClient *c) {
clusterSaveConfigOrDie(); clusterSaveConfigOrDie();
addReply(c,shared.ok); addReply(c,shared.ok);
} else if (!strcasecmp(c->argv[1]->ptr,"setslot") && c->argc >= 4) { } else if (!strcasecmp(c->argv[1]->ptr,"setslot") && c->argc >= 4) {
/* SETSLOT 10 MIGRATING <instance ID> */ /* SETSLOT 10 MIGRATING <node ID> */
/* SETSLOT 10 IMPORTING <instance ID> */ /* SETSLOT 10 IMPORTING <node ID> */
/* SETSLOT 10 STABLE */ /* SETSLOT 10 STABLE */
/* SETSLOT 10 NODE <node ID> */
int slot; int slot;
clusterNode *n; clusterNode *n;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment