• antirez's avatar
    Sentinel: when leader in wait-start, sense another leader as race. · 524b79d2
    antirez authored
    When we are in wait start, if another leader (or any other external
    entity) turns a slave into a master, abort the failover, and detect it
    as an observer.
    
    Note that the wait-start state is mainly there for this reason but the
    abort was yet not implemented.
    
    This adds a new sentinel event -failover-abort-race.
    524b79d2
sentinel.c 107 KB