• antirez's avatar
    Diskless replication: trigger a BGSAVE after a config change. · 42951ab3
    antirez authored
    If we turn from diskless to disk-based replication via CONFIG SET, we
    need a way to start a BGSAVE if there are slaves alerady waiting for a
    BGSAVE to start. Normally with disk-based replication we do it as soon
    as the previous child exits, but when there is a configuration change
    via CONFIG SET, we may have slaves in WAIT_BGSAVE_START state without
    an RDB background process currently active.
    42951ab3
replication.c 77.5 KB