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:
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user