mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
optimize cluster failover
This commit is contained in:
parent
49816941a4
commit
a16da79228
@ -3031,6 +3031,7 @@ void clusterHandleSlaveFailover(void) {
|
||||
if (server.cluster->mf_end) {
|
||||
server.cluster->failover_auth_time = mstime();
|
||||
server.cluster->failover_auth_rank = 0;
|
||||
clusterDoBeforeSleep(CLUSTER_TODO_HANDLE_FAILOVER);
|
||||
}
|
||||
serverLog(LL_WARNING,
|
||||
"Start of election delayed for %lld milliseconds "
|
||||
|
Loading…
x
Reference in New Issue
Block a user