• zhaozhao.zz's avatar
    PSYNC2: second_replid_offset should be real meaningful offset · cbb51fb8
    zhaozhao.zz authored
    After adjustMeaningfulReplOffset(), all the other related variable
    should be updated, including server.second_replid_offset.
    
    Or the old version redis like 5.0 may receive wrong data from
    replication stream, cause redis 5.0 can sync with redis 6.0,
    but doesn't know meaningful offset.
    cbb51fb8
replication.c 138 KB