From: Christophe Pettus <xof@thebuild.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: Richard Schmidt <Richard.Schmidt@metservice.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Pg_rewind cannot load history wal
Date: Sat, 4 Aug 2018 07:54:36 -0700
Message-ID: <EE81B078-37FE-43B3-8083-0BC78ACF0699@thebuild.com> (raw)
In-Reply-To: <20180804131312.GH20967@paquier.xyz>
References: <HK0PR01MB200359DEA9A85774C9E3A799912D0@HK0PR01MB2003.apcprd01.prod.exchangelabs.com>
<20180803205922.GC20967@paquier.xyz>
<CANP8+j+fR79iX=39LRnrwne7Wp5xDmRyLBnmQ5=4ZUjscNDbag@mail.gmail.com>
<20180804065654.GF20967@paquier.xyz>
<CANP8+jJmq0zns1UWObnOJH6fdUwCzby2xnxok5uJqMpegm8dEQ@mail.gmail.com>
<20180804115945.k54bivte737gkicv@alap3.anarazel.de>
<20180804131312.GH20967@paquier.xyz>
> On Aug 4, 2018, at 06:13, Michael Paquier <michael@paquier.xyz> wrote:
>
> Well, since its creation we have the tool behave this way. I am not
> sure either that we can have pg_rewind create a checkpoint on the source
> node each time a rewind is done, as it may not be necessary, and it
> would enforce WAL segment recycling more than necessary, so if we were
> to back-patch something like that I am pretty much convinced that we
> would get complains from people already using the tool, with existing
> failover flows which are broken.
Would having pg_rewind do a checkpoint on the source actually cause anything to break, as opposed to a delay while the checkpoint completes? The current situation can create a corrupted target, which seems far worse than just slowing down pg_rewind.
--
-- Christophe Pettus
xof@thebuild.com
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: xof@thebuild.com, michael@paquier.xyz, andres@anarazel.de, simon@2ndquadrant.com, Richard.Schmidt@metservice.com
Subject: Re: Pg_rewind cannot load history wal
In-Reply-To: <EE81B078-37FE-43B3-8083-0BC78ACF0699@thebuild.com>
References: <HK0PR01MB200359DEA9A85774C9E3A799912D0@HK0PR01MB2003.apcprd01.prod.exchangelabs.com> <20180803205922.GC20967@paquier.xyz> <CANP8+j+fR79iX=39LRnrwne7Wp5xDmRyLBnmQ5=4ZUjscNDbag@mail.gmail.com> <20180804065654.GF20967@paquier.xyz> <CANP8+jJmq0zns1UWObnOJH6fdUwCzby2xnxok5uJqMpegm8dEQ@mail.gmail.com> <20180804115945.k54bivte737gkicv@alap3.anarazel.de> <20180804131312.GH20967@paquier.xyz> <EE81B078-37FE-43B3-8083-0BC78ACF0699@thebuild.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