Re: history file on replica and double switchover
От | Fujii Masao |
---|---|
Тема | Re: history file on replica and double switchover |
Дата | |
Msg-id | ef405976-3e6d-8f67-4845-8d78a5947f12@oss.nttdata.com обсуждение исходный текст |
Ответ на | Re: history file on replica and double switchover (Grigory Smolkin <g.smolkin@postgrespro.ru>) |
Ответы |
Re: history file on replica and double switchover
|
Список | pgsql-hackers |
On 2020/09/26 2:58, Grigory Smolkin wrote: > Fujii Masao, David Zhang, Anastasia Lubennikova, many thanks to you for efforts with this patch! > Can I mark it as ready for committer? Ok, but I attached the updated version of the patch. It's helpful if you review that. In the latest patch, I changed walreceiver so that it creates .done file for the streamed timeline history file when archive_modeis NOT "always". Walreceiver does the same thing for the streamed WAL files to prevent them from being archived later. Without this, the streamedWAL files can exist in pg_wal without any archive status files, and then they will be archived later accidentallybecause of lack of archive status. OTOH, timeline history files will not be archived later even without archive status files. So there is no strong reason tomake walreceiver create .doen file for the timeline history files. But at least for me it's strange to keep the file inpg_wal without archive status. So for now I'm just inclined to create .done files.... Thought? Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Вложения
В списке pgsql-hackers по дате отправления: