Re: Fixing WAL instability in various TAP tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing WAL instability in various TAP tests
Дата
Msg-id 2517015.1632586839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixing WAL instability in various TAP tests  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Sat, Sep 25, 2021 at 08:20:06AM -0700, Mark Dilger wrote:
>> You may be right, but the conversation about "all possible settings" was
>> started by Noah.

> You wrote, "I would expect tests which fail under legal alternate GUC settings
> to be hardened to explicitly set the GUCs as they need, rather than implicitly
> relying on the defaults."  I read that as raising the general principle, not
> just a narrow argument about max_wal_size.

As did I.

> We can discontinue talking about
> the general principle and focus on max_wal_size.

It is worth stopping to think about whether there are adjacent settings
that need similar treatment.

In general, it seems like "premature discarding of WAL segments" is
something akin to "premature timeout" errors, and we've got a pretty
aggressive policy about preventing those.  There are a lot of settings
that I'd *not* be in favor of trying to be bulletproof about, because
it doesn't seem worth the trouble; but perhaps this one is.

            regards, tom lane



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Fixing WAL instability in various TAP tests
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: rand48 replacement