pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix handling of WAL segments ready to be archived during crash r
Date: Mon, 27 Apr 2020 12:29:08 +0200
Message-ID: <20200427122908.0275206c@firost> (raw)
In-Reply-To: <20200425003114.GB1474@paquier.xyz>
References: <E1jRlci-00025N-Ov@gemulon.postgresql.org>
	<20200424005929.GK33034@paquier.xyz>
	<20200424011437.GA806193@paquier.xyz>
	<20200424.173021.437425683089236305.horikyota.ntt@gmail.com>
	<20200425003114.GB1474@paquier.xyz>

On Sat, 25 Apr 2020 09:31:14 +0900
Michael Paquier <michael@paquier.xyz> wrote:

> On Fri, Apr 24, 2020 at 05:30:21PM +0900, Kyotaro Horiguchi wrote:
> > I think we can reimplement them by waiting
> > pg_stat_archiver.last_failed_wal at least for archive_mode=always
> > case. I'm not sure about the case where archive_mode=on, though.  
> 
> Yeah, the second case is more tricky, and there is no point to add a
> poll query using pg_stat_file() on a .ready file either.

I suggested a patch in the original thread, waiting for the LSN gathered on 
the primary.





view thread (11+ messages)

Message-ID: <20200427122908.0275206c@firost>
Permalink:  ../20200427122908.0275206c@firost/
Also on:    postgresql.org/message-id/20200427122908.0275206c@firost

 · 

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-committers@postgresql.org
  Cc: jgdr@dalibo.com, michael@paquier.xyz, horikyota.ntt@gmail.com
  Subject: Re: pgsql: Fix handling of WAL segments ready to be archived during crash r
  In-Reply-To: <20200427122908.0275206c@firost>
  References: <E1jRlci-00025N-Ov@gemulon.postgresql.org> <20200424005929.GK33034@paquier.xyz> <20200424011437.GA806193@paquier.xyz> <20200424.173021.437425683089236305.horikyota.ntt@gmail.com> <20200425003114.GB1474@paquier.xyz> <20200427122908.0275206c@firost>

* 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