mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05: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…
Reference in New Issue
Block a user