From: Michael Paquier <michael@paquier.xyz>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix race in test of pg_switch_wal().
Date: Mon, 14 Sep 2020 17:27:07 +0900
Message-ID: <20200914082707.GH2183@paquier.xyz> (raw)
In-Reply-To: <E1kHhpy-0001EB-61@gemulon.postgresql.org>
References: <E1kHhpy-0001EB-61@gemulon.postgresql.org>
On Mon, Sep 14, 2020 at 06:19:38AM +0000, Noah Misch wrote:
> Fix race in test of pg_switch_wal().
>
> The test failed when something added WAL between pg_switch_wal() and
> pg_current_wal_lsn(), seen on buildfarm members hornet and sungazer.
> Fix v10, v9.6 and v9.5 by making this code mirror its v13+ counterpart.
> v12 and v11 lack a counterpart.
Thanks Noah for that, I did not notice those buildfarm failures:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2020-07-24%2010%3A24%3A56
It is fine to ping me or just to begin a thread if there is a problem,
I would have taken care of it.
Thanks,
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-committers@postgresql.org
Cc: michael@paquier.xyz, noah@leadboat.com
Subject: Re: pgsql: Fix race in test of pg_switch_wal().
In-Reply-To: <20200914082707.GH2183@paquier.xyz>
References: <E1kHhpy-0001EB-61@gemulon.postgresql.org> <20200914082707.GH2183@paquier.xyz>
* 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