From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Christoph Berg <myon@debian.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: 15beta1 test failure on mips in isolation/expected/stats
Date: Thu, 19 May 2022 23:58:24 -0400
Message-ID: <265570.1653019104@sss.pgh.pa.us> (raw)
In-Reply-To: <20220520034727.u7wjnrcskdscw5sx@alap3.anarazel.de>
References: <YoZf7U/WmfmFYFEx@msg.df7cb.de>
<250690.1653010951@sss.pgh.pa.us>
<20220520034727.u7wjnrcskdscw5sx@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On 2022-05-19 21:42:31 -0400, Tom Lane wrote:
>> Even more interesting, the repeatability varies with the settings
>> of max_connections and max_prepared_transactions.
> That is indeed quite odd.
>> At low values (resp. 20 and 0) I've not been able to make it happen at all,
>> but at 100 and 2 it happens circa three times out of four.
> Is this the only permutation that fails?
No, but those values definitely seem to affect the probability of
failure. I just finished a more extensive series of runs, and got:
successes/tries with max_connections/max_prepared_transactions:
5/5 OK with 20/2
5/5 OK with 100/0
3/5 OK with 100/2
4/5 OK with 200/2
5/6 OK with 100/10
5/6 OK with 50/2
6/10 OK with 100/2
It seems like the probability decreases again if I raise either
number further. So I'm now guessing that this is purely a timing
issue and that somehow 100/2 is near the sweet spot for hitting
the timing window. Why those settings would affect pgstats at
all is unclear, though.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, myon@debian.org
Subject: Re: 15beta1 test failure on mips in isolation/expected/stats
In-Reply-To: <265570.1653019104@sss.pgh.pa.us>
References: <YoZf7U/WmfmFYFEx@msg.df7cb.de> <250690.1653010951@sss.pgh.pa.us> <20220520034727.u7wjnrcskdscw5sx@alap3.anarazel.de> <265570.1653019104@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox