• Wang Yuan's avatar
    Fix diskless replication failure when has non-rdb child process (#8070) · f207e168
    Wang Yuan authored
    If we enable diskless replication, set repl-diskless-sync-delay to 0,
    and master has non-rdb child process such as rewrite aof child, master
    will try to start to a new BGSAVE but fails immediately (before fork)
    when replicas ask for full synchronization, and master always fails
    to start a new BGSAVE and disconnects with replicas until non-rdb
    child process exists.
    
    this bug was introduced in #6271 (not yet released in 6.0.x)
    f207e168
replication.c 137 KB