pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Phil Endecott <spam_from_pgsql_lists@chezphil.org>
To: pgsql-general@lists.postgresql.org
Subject: Re: During promotion, new master tries to archive same segment twice
Date: Thu, 16 Aug 2018 06:57:18 -0700
Message-ID: <b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.com> (raw)
In-Reply-To: <1534409295072@dmwebmail.dmwebmail.chezphil.org>
References: <5e8344fd-e736-9439-9a10-eb8838e51c03@aklaver.com>
	<1534409295072@dmwebmail.dmwebmail.chezphil.org>

On 08/16/2018 01:48 AM, Phil Endecott wrote:
> Adrian Klaver wrote:
>> On 08/15/2018 01:25 PM, Phil Endecott wrote:
>>> Dear Experts,
>>>

>> The above is not clear to me. My best guess:
>>

> It's not part of the error for the archive command; it's just the
> next thing in the log file.  Y is (1) trying write WAL segment
> E8 to the Y-to-Z archive and failing because it is already there and
> (2) trying to read WAL segment E9 from the X-to-Y archive and failing
> because it doesn't exist (and never will).  (1) is the problem, (2) is
> expected.

Hmm, still not sure why they are both showing up in the same LOG: entry 
as the entry was for the failure of the archive_command.

What is archive_mode set to on Y?


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (9+ messages)  latest in thread

Message-ID: <b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.com>
Permalink:  ../b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.com/
Also on:    postgresql.org/message-id/b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.com

 · 

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: adrian.klaver@aklaver.com, spam_from_pgsql_lists@chezphil.org
  Subject: Re: During promotion, new master tries to archive same segment twice
  In-Reply-To: <b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.com>
  References: <5e8344fd-e736-9439-9a10-eb8838e51c03@aklaver.com> <1534409295072@dmwebmail.dmwebmail.chezphil.org> <b0979e77-fe08-091d-cdd8-43eaece422d2@aklaver.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