• Heikki Linnakangas's avatar
    Fix checkpoint after fast promotion. · b669f416
    Heikki Linnakangas authored
    The intention was to request a regular online checkpoint immediately after
    end of recovery, when performing "fast promotion". However, because the
    checkpoint was requested before other backends were allowed to write WAL,
    the checkpointer process performed a restartpoint rather than a checkpoint.
    
    Delay the RequestCheckPoint call until after recovery has truly ended, so
    that you get a real checkpoint.
    b669f416
xlog.c 296 KB