• A
    PSYNC2: discard pending transactions from cached master. · 189a12af
    antirez 提交于
    During the review of the fix for #3899, @yangsiran identified an
    implementation bug: given that the offset is now relative to the applied
    part of the replication log, when we cache a master, the successive
    PSYNC2 request will be made in order to *include* the transaction that
    was not completely processed. This means that we need to discard any
    pending transaction from our replication buffer: it will be re-executed.
    189a12af
replication.c 106.4 KB