Re: BUG #16894: PANIC: WAL contains references to invalid pages

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Steele <david(at)pgmasters(dot)net>
Cc: Антон Курочкин <antkurochkin(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16894: PANIC: WAL contains references to invalid pages
Date: 2021-03-03 07:03:52
Message-ID: YD802EbDVvs4SWo0@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Mar 02, 2021 at 07:46:21AM -0500, David Steele wrote:
> That summarizes the process very well.

Okay.

> My concern here is that we appear to have a partial page write as the first
> write to a page after the backup start checkpoint. At least, that's what
> this error seems to be indicating from my reading of the code.
>
> The question is -- are there valid circumstances under which this might be
> happening or is it a bug?

Err, what you are doing here is qualified as unorthodox, but isn't
"unsupported" a better term? That's basically tricking WAL replay
into doing something it would never have to do for physical backups.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Neil Chen 2021-03-03 08:41:49 Re: BUG #16583: merge join on tables with different DB collation behind postgres_fdw fails
Previous Message Michael Paquier 2021-03-03 00:47:24 Re: Two bugs in the RPM specs?