Re: Flush pgstats file during checkpoints

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Flush pgstats file during checkpoints
Дата
Msg-id Zpc_7FErsNO7lH6K@paquier.xyz
обсуждение исходный текст
Ответ на Re: Flush pgstats file during checkpoints  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Flush pgstats file during checkpoints
Список pgsql-hackers
On Tue, Jul 16, 2024 at 10:37:39AM +0900, Michael Paquier wrote:
> On Fri, Jul 12, 2024 at 01:01:19PM +0000, Bertrand Drouvot wrote:
>> Instead of removing the stat file, should we keep it around until the first call
>> to pgstat_write_statsfile()?
>
> Oops.  You are right, I have somewhat missed the unlink() once we are
> done reading the stats file with a correct redo location.

The durable_rename() part has been applied.  Please find attached a
rebase of the patch set with all the other comments addressed.
--
Michael

Вложения

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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Slow catchup of 2PC (twophase) transactions on replica in LR
Следующее
От: Peter Smith
Дата:
Сообщение: Re: Slow catchup of 2PC (twophase) transactions on replica in LR