Re: [HACKERS] Fast promotion not used when doing a recovery_targetPITR restore?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Fast promotion not used when doing a recovery_targetPITR restore?
Дата
Msg-id CAB7nPqQXqHSH4vRxHOFaHvmz2VKvXz=OqtnVFmauqRuPoyL5gA@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] Fast promotion not used when doing a recovery_target PITR restore?  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] Fast promotion not used when doing a recovery_targetPITR restore?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Jun 22, 2017 at 3:04 AM, Andres Freund <andres@anarazel.de> wrote:
> When doing a PITR style recovery, with recovery target set, we're
> currently not doing a fast promotion, in contrast to the handling when
> doing a pg_ctl or trigger file based promotion. That can prolong making
> the server available for writes.
>
> I can't really see a reason for this?

Yes, you are right. I see no reason either why this cannot be done.
Why not just switching fast_promote to true in when using
RECOVERY_TARGET_ACTION_PROMOTE? That's a bug, not a critical one
though.
-- 
Michael

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Yugo Nagata
Дата:
Сообщение: Re: [HACKERS] Autovacuum launcher occurs error when cancelled bySIGINT
Следующее
От: Yugo Nagata
Дата:
Сообщение: Re: [HACKERS] Logical replication launcher never been restartedwhen terminated