Re: pgsql: Fix race in test of pg_switch_wal().

2020-10-06 Thread Michael Paquier
On Tue, Oct 06, 2020 at 07:03:27PM -0700, Noah Misch wrote: > There's a new 020_archive_status.pl failure: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mandrill&dt=2020-10-05%2023%3A02%3A17 > > Would you like to diagnose/fix that one? Wow, thanks. This does not looks like an issue c

Re: pgsql: Fix race in test of pg_switch_wal().

2020-10-06 Thread Noah Misch
On Mon, Sep 14, 2020 at 05:27:07PM +0900, Michael Paquier wrote: > On Mon, Sep 14, 2020 at 06:19:38AM +, 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 h

Re: pgsql: Fix race in test of pg_switch_wal().

2020-09-14 Thread Michael Paquier
On Mon, Sep 14, 2020 at 06:19:38AM +, 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

pgsql: Fix race in test of pg_switch_wal().

2020-09-13 Thread Noah Misch
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. Branch -- REL_

pgsql: Fix race in test of pg_switch_wal().

2020-09-13 Thread Noah Misch
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. Branch -- REL9

pgsql: Fix race in test of pg_switch_wal().

2020-09-13 Thread Noah Misch
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. Branch -- REL9