Re: bug on log generation ?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: bug on log generation ?
Дата
Msg-id 20220808160204.owjxz2eb234fba3k@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: bug on log generation ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: bug on log generation ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2022-08-08 10:32:22 -0400, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > What platform is this on? Is it possible that on some platform the chunk
> > size we're using is not doing an atomic write?
> 
> Another idea is that some of the write() calls are failing --- elog.c
> doesn't check for that.

I was suspicious of those as well. It might be a good idea to at least write
such failures to stderr, otherwise it's just about impossible to debug. Not
that stderr will always point anywhere useful...

I can imagine that a system under heavy memory pressure might fail writing, if
there's a lot of writes in a row or such.

Greetings,

Andres Freund



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

Предыдущее
От: Önder Kalacı
Дата:
Сообщение: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: make update-po@master stops at pg_upgrade