pgsql: Fix checkpoint after fast promotion.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix checkpoint after fast promotion.
Дата
Msg-id E1U4zu5-00016u-Mb@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Support unlogged GiST index.