Re: WAL segments removed from primary despite the fact that logical replication slot needs it.

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, pgsql-bugs mailing list <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
Date: 2022-11-18 11:27:17
Message-ID: Y3dsFS1iT1uGZl9A@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(at)anarazel(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marko Tiikkaja 2022-11-18 13:05:16 Re: BUG #17689: Two UPDATE operators in common table expressions (CTE) perform not as expected
Previous Message PG Bug reporting form 2022-11-18 05:41:54 BUG #17689: Two UPDATE operators in common table expressions (CTE) perform not as expected