• Simon Riggs's avatar
    Switch timelines if we crash soon after promotion. · 3f0ab052
    Simon Riggs authored
    Previous patch to skip checkpoints at end of recovery didn't
    correctly perform crash recovery, fumbling the timeline switch.
    Now we record the minRecoveryPointTLI of the newly selected
    timeline, so that we crash recover to the correct timeline.
    
    Bug report from Fujii Masao, investigated by me.
    3f0ab052
xlog.c 294 KB