Re: requested timeline ... does not contain minimum recovery point... - Mailing list pgsql-hackers

From Christophe Pettus
Subject Re: requested timeline ... does not contain minimum recovery point...
Date
Msg-id 01A4F489-4C30-400E-B7AA-D29B0D20BCA7@thebuild.com
Whole thread Raw
In response to Re: requested timeline ... does not contain minimum recovery point...  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
> On Jul 12, 2018, at 19:54, Andres Freund <andres@anarazel.de> wrote:
> Do you see a "checkpoint complete: wrote ..." message
> before the rewind started?

Checking, but I suspect that's exactly the problem.

This raises a question: Would it make sense for pg_rewind to either force a checkpoint or have a --checkpoint option
alongthe lines of pg_basebackup?  This scenario (pg_rewind being run very quickly after secondary promotion) is not
uncommonwhen there's scripting around the switch-over process. 

--
-- Christophe Pettus
   xof@thebuild.com



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [HACKERS] PATCH: Keep one postmaster monitoring pipe per process
Next
From: Don Seiler
Date:
Subject: Re: [PATCH] Include application_name in "connection authorized" log message