Re: AIO v2.5

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: AIO v2.5
Дата
Msg-id csuj2g67uexpmlkubzqmcipfm6ndvzn2d3ycij7plaz2uocnfa@4ja4bml2wz3r
обсуждение исходный текст
Ответ на Re: AIO v2.5  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2025-03-28 08:54:42 -0400, Andres Freund wrote:
> One simplification that we could make is to only ever report one checksum
> failure for each IO, even if N buffers failed - after all that's what HEAD
> does (by virtue of throwing an error after the first). Then we'd not track the
> number of checksum errors.

Just after sending, I thought of another variation: Report the number of
*invalid* pages (which we already track) as checksum errors, if there was at
least on checksum error.

It's imo rather weird that we track checksum errors but we don't track invalid
page headers, despite the latter being an even worse indication of something
having gone wrong...

Greetings,

Andres Freund



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