mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +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;
|
||||
} else {
|
||||
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
|
||||
return;
|
||||
}
|
||||
clusterSaveConfigOrDie();
|
||||
addReply(c,shared.ok);
|
||||
|
Loading…
x
Reference in New Issue
Block a user