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(-)

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-committers @
categoriespostgresql
postedFeb 11, '13 at 8:23p
activeFeb 11, '13 at 8:23p
posts1
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Heikki Linnakangas: 1 post

People

Translate

site design / logo © 2021 Grokbase