• antirez's avatar
    Diskless replication: missing listRewind() added. · 6231c42e
    antirez authored
    This caused BGSAVE to be triggered a second time without any need when
    we switch from socket to disk target via the command
    
        CONFIG SET repl-diskless-sync no
    
    and there is already a slave waiting for the BGSAVE to start.
    Also comments clarified about what is happening.
    6231c42e
replication.c 81.3 KB