From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Ignore server-side delays when enforcing wal_sender_timeout.
Date: Sat, 01 Sep 2018 06:03:35 +0000
Message-ID: <E1fvz0R-0007DB-NE@gemulon.postgresql.org> (raw)
Ignore server-side delays when enforcing wal_sender_timeout.
Healthy clients of servers having poor I/O performance, such as
buildfarm members hamster and tern, saw unexpected timeouts. That
disagreed with documentation. This fix adds one gettimeofday() call
whenever ProcessRepliesIfAny() finds no client reply messages.
Back-patch to 9.4; the bug's symptom is rare and mild, and the code all
moved between 9.3 and 9.4.
Discussion: https://postgr.es/m/20180826034600.GA1105084@rfd.leadboat.com
Branch
------
REL9_4_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/20cd88857b3a60d40cf019872cf8a5d40888e3ae
Modified Files
--------------
src/backend/replication/walsender.c | 64 +++++++++++++++++++++----------------
1 file changed, 36 insertions(+), 28 deletions(-)
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: noah@leadboat.com
Subject: Re: pgsql: Ignore server-side delays when enforcing wal_sender_timeout.
In-Reply-To: <E1fvz0R-0007DB-NE@gemulon.postgresql.org>
References: <E1fvz0R-0007DB-NE@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