pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Ajin Cherian <itsajin@gmail.com>
Cc: Alexey Makhmutov <a.makhmutov@postgrespro.ru>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: shveta malik <shveta.malik@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Standby server with cascade logical replication could not be properly stopped under load
Date: Fri, 30 May 2025 08:32:05 +0900
Message-ID: <aDjudRqTXYJCt3VT@paquier.xyz> (raw)
In-Reply-To: <CAFPTHDZu40jysBrqmSYHpumoEDFDs8JoZL3hsN80rFt394Fttw@mail.gmail.com>
References: <52138028-7246-421c-9161-4fa108b88070@postgrespro.ru>
	<CAJpy0uA9kw9WLWETPg+upwzBu145vMB7sPZwBuR_vDrbazeuag@mail.gmail.com>
	<d9e1c765-7f83-4015-ade3-16506854d0b1@postgrespro.ru>
	<aC9DXHt/MwFCW6Is@ip-10-97-1-34.eu-west-3.compute.internal>
	<f2575904-acfe-4037-9748-61fdb4a7abe4@postgrespro.ru>
	<aDa83q7wJt6II3Iq@paquier.xyz>
	<a4f477e0-5d17-466b-a8cc-e0d905d1161b@postgrespro.ru>
	<aDgGXArm-CGh1pSG@paquier.xyz>
	<CAFPTHDZu40jysBrqmSYHpumoEDFDs8JoZL3hsN80rFt394Fttw@mail.gmail.com>

On Thu, May 29, 2025 at 08:28:01PM +1000, Ajin Cherian wrote:
> I think this new fix is much better and cleaner. A suggestion for the
> comment:
> "For cascading logical WAL senders, we use the replay LSN instead of the
> flush LSN, since logical decoding on a standby only processes WAL that has
> been replayed. This distinction becomes particularly important during
> shutdown, as new WAL is no longer replayed and the last replayed LSN marks
> the furthest point up to which decoding can proceed."

Yes, that sounds better than my previous suggestion.  Thanks.
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../aDjudRqTXYJCt3VT@paquier.xyz/2-signature.asc)
  download

view thread (16+ messages)  latest in thread

Message-ID: <aDjudRqTXYJCt3VT@paquier.xyz>
Permalink:  ../aDjudRqTXYJCt3VT@paquier.xyz/
Also on:    postgresql.org/message-id/aDjudRqTXYJCt3VT@paquier.xyz

 · 

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-bugs@postgresql.org
  Cc: michael@paquier.xyz, itsajin@gmail.com, a.makhmutov@postgrespro.ru, bertranddrouvot.pg@gmail.com, shveta.malik@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Standby server with cascade logical replication could not be properly stopped under load
  In-Reply-To: <aDjudRqTXYJCt3VT@paquier.xyz>

* 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