From: Ben Chobot <bench@silentmedia.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: 12.3 replicas falling over during WAL redo
Date: Mon, 3 Aug 2020 13:26:59 -0700
Message-ID: <c6b3f53a-b250-b30b-c1a9-e0e866cda13b@silentmedia.com> (raw)
In-Reply-To: <CAH2-WzkoAWLFM_vinLFOFWHS6J5wWALm02zaSJniVzEVRbux6Q@mail.gmail.com>
References: <20200801163551.GA12860@alvherre.pgsql>
<a39efdb7-2dc7-4260-503d-5ddda4900822@silentmedia.com>
<20200803.133942.2170581823465092883.horikyota.ntt@gmail.com>
<CAH2-WzkoAWLFM_vinLFOFWHS6J5wWALm02zaSJniVzEVRbux6Q@mail.gmail.com>
Peter Geoghegan wrote on 8/3/20 11:25 AM:
> On Sun, Aug 2, 2020 at 9:39 PM Kyotaro Horiguchi
> <horikyota.ntt@gmail.com> wrote:
>> All of the cited log lines seem suggesting relation with deleted btree
>> page items. As a possibility I can guess, that can happen if the pages
>> were flushed out during a vacuum after the last checkpoint and
>> full-page-writes didn't restored the page to the state before the
>> index-item deletion happened(that is, if full_page_writes were set to
>> off.). (If it found to be the cause, I'm not sure why that didn't
>> happen on 9.5.)
> There is also a Heap/HOT_UPDATE log line with similar errors.
Yes, and I have the pg_waldump output for it. But, that table is quite
large, and the transaction that contains the LSN in the error log is
1,752 waldump lines long. I'm happy to share what would be useful to
help debug it but I'm guessing it should be a subset of that.
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-general@postgresql.org
Cc: bench@silentmedia.com, pg@bowt.ie, horikyota.ntt@gmail.com, alvherre@2ndquadrant.com
Subject: Re: 12.3 replicas falling over during WAL redo
In-Reply-To: <c6b3f53a-b250-b30b-c1a9-e0e866cda13b@silentmedia.com>
References: <20200801163551.GA12860@alvherre.pgsql> <a39efdb7-2dc7-4260-503d-5ddda4900822@silentmedia.com> <20200803.133942.2170581823465092883.horikyota.ntt@gmail.com> <CAH2-WzkoAWLFM_vinLFOFWHS6J5wWALm02zaSJniVzEVRbux6Q@mail.gmail.com> <c6b3f53a-b250-b30b-c1a9-e0e866cda13b@silentmedia.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