pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rui DeSousa <rui@crazybean.net>
To: Don Seiler <don@seiler.us>
Cc: Ian Lawrence Barwick <barwick@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Recovery from WAL archives not advancing timeline?
Date: Mon, 10 Aug 2020 21:30:13 -0400
Message-ID: <B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net> (raw)
In-Reply-To: <CAHJZqBC9o+v5kiXwVtzc+aPH_fQNmFZH+oQ3gwV2Hxf6BgOuaQ@mail.gmail.com>
References: <CAHJZqBBk1cgbvXevUuAGTsbMTYx6_BDwwUqV_4ne_QUG=AuMmw@mail.gmail.com>
	<CAB8KJ=iQWTop4Ekb1XaKCBm4RU0Jpqte6vUKH3E0BGZvS5Ukfg@mail.gmail.com>
	<CAHJZqBDVajF1zuVbomNL=Jp2QkoFN4uNxnsMZdvw8b-v7D1DBQ@mail.gmail.com>
	<CAB8KJ=jsEKz6GY0d+bi6Q2_U5_GDSJkaOO8Mh2V+rQ-JHM6_vg@mail.gmail.com>
	<CAHJZqBB-TXuPS4R2M9N0mHSQUc8OjNwCkttE4q21-Cskhe+kbg@mail.gmail.com>
	<CAHJZqBD27noE2apUEQG=2+MXDwc2538-H1S+qPek3aXyawPg3w@mail.gmail.com>
	<CAHJZqBAH0cg9qMzUteyvJqJBbAFyY5y84P-kJTgcYQkXi+bcAQ@mail.gmail.com>
	<CAHJZqBB5X37hGJJyUR2QG-NHqjUnQVTVcWxRk0Yjwsi=tpxv+Q@mail.gmail.com>
	<8C31D73B-BD43-42FC-A8C5-87DA351BA155@crazybean.net>
	<457D6CE0-90BE-4F88-87FB-A950F6C40AE5@crazybean.net>
	<CAHJZqBC9o+v5kiXwVtzc+aPH_fQNmFZH+oQ3gwV2Hxf6BgOuaQ@mail.gmail.com>



> On Aug 10, 2020, at 8:58 PM, Don Seiler <don@seiler.us> wrote:

> This process was the same for both streaming and non-streaming replication. However only the streaming replica wrote a .partial WAL file on promotion (which was then archived and used by the former primary to start recovery). The former primary doesn't even try to follow the timeline change in the non-streaming scenario.
> 

It would not create a partial WAL as it was not streaming thus is no partial data to archive. 




view thread (12+ messages)

Message-ID: <B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net>
Permalink:  ../B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net/
Also on:    postgresql.org/message-id/B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net

 · 

reply

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-admin@postgresql.org
  Cc: rui@crazybean.net, don@seiler.us, barwick@gmail.com
  Subject: Re: Recovery from WAL archives not advancing timeline?
  In-Reply-To: <B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net>
  References: <CAHJZqBBk1cgbvXevUuAGTsbMTYx6_BDwwUqV_4ne_QUG=AuMmw@mail.gmail.com> <CAB8KJ=iQWTop4Ekb1XaKCBm4RU0Jpqte6vUKH3E0BGZvS5Ukfg@mail.gmail.com> <CAHJZqBDVajF1zuVbomNL=Jp2QkoFN4uNxnsMZdvw8b-v7D1DBQ@mail.gmail.com> <CAB8KJ=jsEKz6GY0d+bi6Q2_U5_GDSJkaOO8Mh2V+rQ-JHM6_vg@mail.gmail.com> <CAHJZqBB-TXuPS4R2M9N0mHSQUc8OjNwCkttE4q21-Cskhe+kbg@mail.gmail.com> <CAHJZqBD27noE2apUEQG=2+MXDwc2538-H1S+qPek3aXyawPg3w@mail.gmail.com> <CAHJZqBAH0cg9qMzUteyvJqJBbAFyY5y84P-kJTgcYQkXi+bcAQ@mail.gmail.com> <CAHJZqBB5X37hGJJyUR2QG-NHqjUnQVTVcWxRk0Yjwsi=tpxv+Q@mail.gmail.com> <8C31D73B-BD43-42FC-A8C5-87DA351BA155@crazybean.net> <457D6CE0-90BE-4F88-87FB-A950F6C40AE5@crazybean.net> <CAHJZqBC9o+v5kiXwVtzc+aPH_fQNmFZH+oQ3gwV2Hxf6BgOuaQ@mail.gmail.com> <B7FEA443-465B-4162-86BB-2337F1D5F8D2@crazybean.net>

* 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