reorder pg_rewind control file sync

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема reorder pg_rewind control file sync
Дата
Msg-id alpine.DEB.2.21.1903230606350.18811@lancre
обсуждение исходный текст
Ответы Re: reorder pg_rewind control file sync
Список pgsql-hackers
Bonjour Michaël,

On Sat, 23 Mar 2019, Michael Paquier wrote:
> On Fri, Mar 22, 2019 at 03:18:26PM +0100, Fabien COELHO wrote:
>> Attached is a quick patch about "pg_rewind", so that the control file 
>> is updated after everything else is committed to disk.
>
> Could you start a new thread about that please?  This one has already 
> been used for too many things.

Here it is.

The attached patch reorders the cluster fsyncing and control file changes 
in "pg_rewind" so that the later is done after all data are committed to 
disk, so as to reflect the actual cluster status, similarly to what is 
done by "pg_checksums", per discussion in the thread about offline 
enabling of checksums:

https://www.postgresql.org/message-id/20181221201616.GD4974@nighthawk.caipicrew.dd-dns.de

-- 
Fabien.
Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Transaction commits VS Transaction commits (with parallel) VSquery mean time
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Removing \cset from pgbench