pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Log more info when wait-for-catchup tests time out.
Date: Mon, 12 Aug 2024 17:18:42 +0000
Message-ID: <E1sdYgs-003sI1-Qa@gemulon.postgresql.org> (raw)

Log more info when wait-for-catchup tests time out.

Cluster.pm's wait_for_catchup and allied subroutines don't provide
enough information to diagnose the problem when a wait times out.
In hopes of debugging some intermittent buildfarm failures, let's
dump the ending state of the relevant system view when that happens.

Add this to v17 too, but not stable branches.

Discussion: https://postgr.es/m/352068.1723422725@sss.pgh.pa.us

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e57296ed4867b3a3734db9ca621223c30eebb90d

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)



view thread (2+ messages)

Message-ID: <E1sdYgs-003sI1-Qa@gemulon.postgresql.org>
Permalink:  ../E1sdYgs-003sI1-Qa@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sdYgs-003sI1-Qa@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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Log more info when wait-for-catchup tests time out.
  In-Reply-To: <E1sdYgs-003sI1-Qa@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