From: Michael Paquier <michael@paquier.xyz>
To: David Steele <david@pgmasters.net>
Cc: Антон Курочкин <antkurochkin@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16894: PANIC: WAL contains references to invalid pages
Date: Mon, 1 Mar 2021 13:31:04 +0900
Message-ID: <YDxuCMyEeLofajLi@paquier.xyz> (raw)
In-Reply-To: <fd63fe44-7858-5b0a-1709-b9a2da11e36c@pgmasters.net>
References: <16894-c29735df12727642@postgresql.org>
<CABPPpF3mym72xDOyvvfBb4e-rV1Z2Qdip7qQSf2axdnuj-sv=Q@mail.gmail.com>
<fd63fe44-7858-5b0a-1709-b9a2da11e36c@pgmasters.net>
On Thu, Feb 25, 2021 at 12:53:44PM -0500, David Steele wrote:
> For context, when a user performs selective restore all the relations for
> databases *not* selected are restored as sparse zero files with the correct
> size. WAL replay will update those relations but they are not expected to
> be consistent, and in fact we make it impossible to logon to those databases
> so the only option is to drop them.
What is a selective restore? Is that a pgbackrest restore mode from a
full physical backup where only a portion of the database folders are
physically put back into the data folder restored before doing WAL
replay up to the consistent point of the full physical backup? Then,
you emulate the absence of the files from the other database folders
using files full of zeros but with the same size as the original
backup to trick WAL replay?
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-bugs@postgresql.org
Cc: michael@paquier.xyz, david@pgmasters.net, antkurochkin@gmail.com
Subject: Re: BUG #16894: PANIC: WAL contains references to invalid pages
In-Reply-To: <YDxuCMyEeLofajLi@paquier.xyz>
References: <16894-c29735df12727642@postgresql.org> <CABPPpF3mym72xDOyvvfBb4e-rV1Z2Qdip7qQSf2axdnuj-sv=Q@mail.gmail.com> <fd63fe44-7858-5b0a-1709-b9a2da11e36c@pgmasters.net> <YDxuCMyEeLofajLi@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