Commit 46834808 authored by antirez's avatar antirez
Browse files

CLUSTER SETSLOT STABLE fixed

parent 4763ecc9
......@@ -1239,6 +1239,7 @@ void clusterCommand(redisClient *c) {
server.cluster.importing_slots_from[slot] = n;
} else if (!strcasecmp(c->argv[3]->ptr,"stable") && c->argc == 4) {
server.cluster.importing_slots_from[slot] = NULL;
server.cluster.migrating_slots_to[slot] = NULL;
} else {
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
return;
......
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