• antirez's avatar
    Sentinel: when leader in wait-start, sense another leader as race. · fd92b366
    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.
    fd92b366
sentinel.c 107 KB