Re: New instability in stats regression test

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: New instability in stats regression test
Дата
Msg-id 20231127175259.n5pv4uj4xf6bcm4z@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: New instability in stats regression test  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
Hi,

On 2023-11-27 15:49:01 +0530, Bharath Rupireddy wrote:
> On Mon, Nov 27, 2023 at 8:26 AM Michael Paquier <michael@paquier.xyz> wrote:
> > but two resets done on the same shared stats type would still
> > be prone to race conditions without all the previous activity done in
> > the tests (like pg_stat_wal).
> 
> Can running stats.sql in non-parallel mode help stabilize the tests as-is?

I think that'd be a cure *way* worse than the disease. Having concurrent stats
activity isn't exactly uncommon. And because of checkpoints, autovacuum etc,
you'd still have rare situations of concurrency.

Greetings,

Andres Freund



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: remaining sql/json patches
Следующее
От: Andres Freund
Дата:
Сообщение: Re: New instability in stats regression test