pg_receivexlog add synchronous mode

Поиск
Список
Период
Сортировка
От
Тема pg_receivexlog add synchronous mode
Дата
Msg-id A9C510524E235E44AE909CD4027AE196BAAA06D7DB@MBX-MSG-SV03.msg.nttdata.co.jp
обсуждение исходный текст
Ответы Re: pg_receivexlog add synchronous mode
Список pgsql-hackers
Hi,

This patch implements a pg_receivexlog add synchronous mode.
Now, synchronous(synchronous_commit = remote_write) is supported. 
But synchronous(synchronous_commit = remote_write), if the server crashes then WAL file may not to be flushed to disk ,
causingdata loss. 
 

Synchronous(synchronous_commit = on) mode offers the ability to confirm WAL have been streamed in the same way as
synchronousreplication.
 
If an output is used as a different disk from the directory where the transaction log should be stored.
Prevent the loss of data due to disk failure.

the additional parameter(-m) and replicationslot specify, that its synchronous mode.
All received WAL write after, flush is executed and reply flush position.
Flush is not performed every time write, it is performed collectively like walrecever. 

Regards,

-- 
Furuya Osamu

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Need to backpatch 2985e16 to 9.3 and further (HS regression test out)
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: slotname vs slot_name