From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add further debug info to help debug 019_replslot_limit.pl failu
Date: Sat, 26 Feb 2022 01:05:25 +0000
Message-ID: <E1nNlWW-000Nyd-8s@gemulon.postgresql.org> (raw)
Add further debug info to help debug 019_replslot_limit.pl failures.
See also afdeff10526. Failures after that commit provided a few more hints,
but not yet enough to understand what's going on.
In 019_replslot_limit.pl shut down nodes with fast instead of immediate mode
if we observe the failure mode. That should tell us whether the failures we're
observing are just a timing issue under high load. PGCTLTIMEOUT should prevent
buildfarm animals from hanging endlessly.
Also adds a bit more logging to replication slot drop and ShutdownPostgres().
Discussion: https://postgr.es/m/20220225192941.hqnvefgdzaro6gzg@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fe0972ee5e6f8a663c5cf3f24ef98987c503da95
Modified Files
--------------
src/backend/replication/slot.c | 13 +++++++++++++
src/backend/storage/lmgr/lwlock.c | 7 +++++++
src/backend/utils/init/postinit.c | 17 +++++++++++++++++
src/include/storage/lwlock.h | 1 +
src/test/recovery/t/019_replslot_limit.pl | 18 +++++++++++++++++-
5 files changed, 55 insertions(+), 1 deletion(-)
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: andres@anarazel.de
Subject: Re: pgsql: Add further debug info to help debug 019_replslot_limit.pl failu
In-Reply-To: <E1nNlWW-000Nyd-8s@gemulon.postgresql.org>
References: <E1nNlWW-000Nyd-8s@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