pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Andres Freund <andres@anarazel.de>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-bugs mailing list <pgsql-bugs@postgresql.org>
Subject: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
Date: Fri, 18 Nov 2022 12:27:17 +0100
Message-ID: <Y3dsFS1iT1uGZl9A@depesz.com> (raw)
In-Reply-To: <20221117185529.2q7quyznpdrcjqnx@awork3.anarazel.de>
References: <Y0/bSiDkYlhiSmOW@depesz.com>
	<Y1E3JIFqb0mFBZNR@depesz.com>
	<Y25hQCKLnolQaFN9@depesz.com>
	<CAD21AoDHj2RTEjVdqNTVPKyXqjjyUXpyA+=o8UMFEN-vTU848g@mail.gmail.com>
	<Y3NF+M/VgZleKD+K@depesz.com>
	<CAD21AoCMv9mixfO=g5XsjLo_MiiVPAyp8=N0i_+oLNAuX2+JBw@mail.gmail.com>
	<CAD21AoAC7NvyFvTfDxy-bK6Dvnm8D=-TG0c7B6==W5vhA0dtxA@mail.gmail.com>
	<20221117080258.6q3gob3pc3zqz2hm@awork3.anarazel.de>
	<CAD21AoCjKKtQjEma7LR3iKiwW1tzJ8yK4gWdr0p1g2SMKU1Axg@mail.gmail.com>
	<20221117185529.2q7quyznpdrcjqnx@awork3.anarazel.de>

On Thu, Nov 17, 2022 at 10:55:29AM -0800, Andres Freund wrote:
> Hi,
> 
> On 2022-11-17 23:22:12 +0900, Masahiko Sawada wrote:
> > On Thu, Nov 17, 2022 at 5:03 PM Andres Freund <andres@anarazel.de> wrote:
> > > > > 4. wal sender restarts for some reason (or server crashed).
> > >
> > > I don't think walsender alone restarting should change anything, but
> > > crash-restart obviously would.
> > 
> > Right. I've confirmed this scenario is possible to happen with crash-restart.
> 
> Depesz, were there any crashes / immediate restarts on the PG 12 side? If so,
> then we know what the problem likely is and can fix it. If not...
> 
> 
> Just to confirm, the problem has "newly" occurred after you've upgraded to
> 12.12? I couldn't quite tell from the thread.

No crashes that I can find any track of.

And no, it's not related to 12.12

We were using 12.9, and in process of trying to figure stuff out we
upgraded to 12.12, which didn't help.

Best regards,

depesz






view thread (57+ messages)  latest in thread

Message-ID: <Y3dsFS1iT1uGZl9A@depesz.com>
Permalink:  ../Y3dsFS1iT1uGZl9A@depesz.com/
Also on:    postgresql.org/message-id/Y3dsFS1iT1uGZl9A@depesz.com

 · 

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: depesz@depesz.com, andres@anarazel.de, sawada.mshk@gmail.com, amit.kapila16@gmail.com
  Subject: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
  In-Reply-To: <Y3dsFS1iT1uGZl9A@depesz.com>

* 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