• A
    PSYNC2: Save replication ID/offset on RDB file. · 28c96d73
    antirez 提交于
    This means that stopping a slave and restarting it will still make it
    able to PSYNC with the master. Moreover the master itself will retain
    its ID/offset, in case it gets turned into a slave, or if a slave will
    try to PSYNC with it with an exactly updated offset (otherwise there is
    no backlog).
    
    This change was possible thanks to PSYNC v2 that makes saving the current
    replication state much simpler.
    28c96d73
server.h 84.5 KB