Skip to content

Commit

Permalink
missing return caused protocol desync in CLUSTER SETSLOT
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed May 5, 2011
1 parent 0276e55 commit 4763ecc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cluster.c
Expand Up @@ -1241,6 +1241,7 @@ void clusterCommand(redisClient *c) {
server.cluster.importing_slots_from[slot] = NULL;
} else {
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
return;
}
clusterSaveConfigOrDie();
addReply(c,shared.ok);
Expand Down

0 comments on commit 4763ecc

Please sign in to comment.