• antirez's avatar
    slaveTryPartialResynchronization and syncWithMaster: better synergy. · 3cfca5af
    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.
    3cfca5af
replication.c 91.4 KB