• antirez's avatar
    Cluster: better timeout and retry time for failover. · 3119f4f6
    antirez authored
    When node-timeout is too small, in the order of a few milliseconds,
    there is no way the voting process can terminate during that time, so we
    set a lower limit for the failover timeout of two seconds.
    
    The retry time is set to two times the failover timeout time, so it is
    at least 4 seconds.
    3119f4f6
cluster.c 154 KB