• antirez's avatar
    slaveTryPartialResynchronization and syncWithMaster: better synergy. · a7e9b38a
    antirez authored
    It is simpler if removing the read event handler from the FD is up to
    slaveTryPartialResynchronization, after all it is only called in the
    context of syncWithMaster.
    
    This commit also makes sure that on error all the event handlers are
    removed from the socket before closing it.
    a7e9b38a
replication.c 86 KB