• antirez's avatar
    Sentinel: leadership handling changes WIP. · 8c1bf9a2
    antirez authored
    Changes to leadership handling.
    
    Now the leader gets selected by every Sentinel, for a specified epoch,
    when the SENTINEL is-master-down-by-addr is sent.
    
    This command now includes the runid and the currentEpoch of the instance
    seeking for a vote. The Sentinel only votes a single time in a given
    epoch.
    
    Still a work in progress, does not even compile at this stage.
    8c1bf9a2
sentinel.c 119 KB