pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Norberto DellĂȘ <betodelle@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: PostgreSQL 10 not archiving some WAL files
Date: Thu, 19 Mar 2020 10:50:44 +0900
Message-ID: <20200319015044.GO214947@paquier.xyz> (raw)
In-Reply-To: <CAC_JJAumfPdk0miBO5y3x-ieHgT61jH2Ah1q8MPmY2KJO8NVHw@mail.gmail.com>
References: <CAC_JJAumfPdk0miBO5y3x-ieHgT61jH2Ah1q8MPmY2KJO8NVHw@mail.gmail.com>

On Wed, Mar 18, 2020 at 10:57:22AM -0300, Norberto DellĂȘ wrote:
> This setup worked very well for a long time, but since we upgraded
> PostgreSQL to newer versions (10.x), sometimes it just skips archiving some
> wal files. This seems to happen mainly when the server is shut down.
> There's no messages about errors in the logs, and also no corresponding
> .done file in archive_status, it just goes to the next wal file.
> 
> I would like to know if any of you had or has a problem like this, and if
> you had, how you solved it.

Hmm.  I don't recall seeing any of that.  This would mean that we are
either missing the generation of some .ready file, or that some .done
file gets generated when they should not in archive_status/.  What
kind of server shutdown are you doing?  Immediate so as recovery
happens at the follow-up startup.  Or is that a clean service
shutdown?
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20200319015044.GO214947@paquier.xyz>
Permalink:  ../20200319015044.GO214947@paquier.xyz/
Also on:    postgresql.org/message-id/20200319015044.GO214947@paquier.xyz

 · 

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-general@postgresql.org
  Cc: michael@paquier.xyz, betodelle@gmail.com
  Subject: Re: PostgreSQL 10 not archiving some WAL files
  In-Reply-To: <20200319015044.GO214947@paquier.xyz>
  References: <CAC_JJAumfPdk0miBO5y3x-ieHgT61jH2Ah1q8MPmY2KJO8NVHw@mail.gmail.com> <20200319015044.GO214947@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