• rangerzhang's avatar
    Fix outdated comments on updateSlavesWaitingBgsave (#10394) · 4e012dae
    rangerzhang authored
    * fix-replication-comments
    
    The described capacity
     `and to schedule a new BGSAVE if there are slaves that attached while a BGSAVE was in progress`
    was moved to `checkChildrenDone()`  named by `replicationStartPendingFork`
    
    But the comment was not changed, may misleading others.
    
    * remove-misleading-comments
    
    The described capacity
     `to schedule a new BGSAVE if there are slaves that attached while a BGSAVE was in progress` 
    and 
    `or when the replication RDB transfer strategy is modified from disk to socket or the other way around` 
    were not correct now.
    4e012dae
replication.c 161 KB