• antirez's avatar
    PSYNC2: Create backlog on slave partial sync as well. · f1a2cbfd
    antirez authored
    A slave may be started with an RDB file able to provide enough slave to
    perform a successful partial SYNC with its master. However in such a
    case, how outlined in issue #4268, the slave backlog will not be
    started, since it was only initialized on full syncs attempts. This
    creates different problems with successive PSYNC attempts that will
    always result in full synchronizations.
    
    Thanks to @fdingiit for discovering the issue.
    f1a2cbfd
replication.c 107 KB