From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix checkpoint after fast promotion. |
Date: | 2013-02-11 20:23:05 |
Message-ID: | E1U4zu5-00016u-Mb@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix checkpoint after fast promotion.
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b669f416cee77ef9025b80f9c4201688578447d1
Modified Files
--------------
src/backend/access/transam/xlog.c | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2013-02-11 21:09:21 | pgsql: Support unlogged GiST index. |
Previous Message | Tom Lane | 2013-02-11 16:51:39 | Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint |