pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix a random failure in 003_logical_slots.pl.
Date: Tue, 05 Dec 2023 03:51:50 +0000
Message-ID: <E1rAMTO-008eHP-Fg@gemulon.postgresql.org> (raw)

Fix a random failure in 003_logical_slots.pl.

The failed test was trying to validate that the two_phase option for a
slot is retained after the upgrade. The problem was that it didn't get
enabled before the upgrade so expecting to be enabled after the upgrade
was not right in the first place. This is a timing issue because we enable
the two_phase once the initial sync for all the tables is finished.
Normally, we wait for the two_phase state to be enabled but this test
missed that step.

Per buildfarm.

Author: Hayato Kuroda
Discussion: https://postgr.es/m/TY3PR01MB98892396D1071FC4320D6B31F586A@TY3PR01MB9889.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63c5df126abb7364b70dafe75fef576dd8eb0bbc

Modified Files
--------------
src/bin/pg_upgrade/t/003_logical_slots.pl | 6 ++++++
1 file changed, 6 insertions(+)



Message-ID: <E1rAMTO-008eHP-Fg@gemulon.postgresql.org>
Permalink:  ../E1rAMTO-008eHP-Fg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rAMTO-008eHP-Fg@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix a random failure in 003_logical_slots.pl.
  In-Reply-To: <E1rAMTO-008eHP-Fg@gemulon.postgresql.org>

* 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