1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-31 23:01:03 +00:00

missing return caused protocol desync in CLUSTER SETSLOT

This commit is contained in:
antirez 2011-05-05 17:52:19 +02:00
parent 0276e5545c
commit 4763ecc9ad

@ -1241,6 +1241,7 @@ void clusterCommand(redisClient *c) {
server.cluster.importing_slots_from[slot] = NULL; server.cluster.importing_slots_from[slot] = NULL;
} else { } else {
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments"); addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
return;
} }
clusterSaveConfigOrDie(); clusterSaveConfigOrDie();
addReply(c,shared.ok); addReply(c,shared.ok);