mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Call clusterUpdateState() after CLUSTER SETSLOT too.
This commit is contained in:
parent
3a99d1228a
commit
c6da9d9fac
@ -1440,6 +1440,7 @@ void clusterCommand(redisClient *c) {
|
||||
addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments");
|
||||
return;
|
||||
}
|
||||
clusterUpdateState();
|
||||
clusterSaveConfigOrDie();
|
||||
addReply(c,shared.ok);
|
||||
} else if (!strcasecmp(c->argv[1]->ptr,"info") && c->argc == 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user