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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Log more info when wait-for-catchup tests time out.
Date: 2024-08-12 17:18:42
Message-ID: E1sdYgs-003sI0-Q7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2aecbd752616aa664f32b3c1804732e475def7cc

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2024-08-12 18:37:10 pgsql: Give nbtree move right function internal linkage.
Previous Message Nathan Bossart 2024-08-12 15:35:58 pgsql: Add user-callable CRC functions.