mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
Cluster: CLUSTER FAILOVER replies with OK and logs the event.
This commit is contained in:
parent
c72449af30
commit
c6f02fd67a
@ -3317,6 +3317,8 @@ void clusterCommand(redisClient *c) {
|
||||
resetManualFailover();
|
||||
server.cluster->mf_end = mstime() + REDIS_CLUSTER_MF_TIMEOUT;
|
||||
clusterSendMFStart(myself->slaveof);
|
||||
redisLog(REDIS_WARNING,"Manual failover user request accepted.");
|
||||
addReply(c,shared.ok);
|
||||
} else {
|
||||
addReplyError(c,"Wrong CLUSTER subcommand or number of arguments");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user