• A
    Undo slave-master handshake when SLAVEOF sets a new slave. · aa9497fd
    antirez 提交于
    Issue #828 shows how Redis was not correctly undoing a non-blocking
    connection attempt with the previous master when the master was set to a
    new address using the SLAVEOF command.
    
    This was also a result of lack of refactoring, so now there is a
    function to cancel the non blocking handshake with the master.
    The new function is now used when SLAVEOF NO ONE is called or when
    SLAVEOF is used to set the master to a different address.
    aa9497fd
replication.c 30.8 KB