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

From Andres Freund
Subject Re: requested timeline ... does not contain minimum recovery point...
Date
Msg-id 20180712172925.aqb3lhtilia6is5j@alap3.anarazel.de
Whole thread Raw
In response to requested timeline ... does not contain minimum recovery point ...  (Christophe Pettus <xof@thebuild.com>)
Responses Re: requested timeline ... does not contain minimum recovery point...  (Christophe Pettus <xof@thebuild.com>)
List pgsql-hackers
Hi,

On 2018-07-12 10:20:06 -0700, Christophe Pettus wrote:
> PostgreSQL 9.6.9, Windows Server 2012 Datacenter (64-bit).
> 
> We're trying to diagnose the error:
> 
>     requested timeline 105 does not contain minimum recovery point A58/6B109F28 on timeline 103
> 
> The error occurs when a WAL-shipping (not streaming) secondary starts up.
> 
> These two machines have been part of a stress-test where, repeatedly, the secondary is promoted, the old primary is
rewoundusing pg_rewind, and then attached to the new primary.  This has worked for multiple iterations, but this error
poppedup.  The last cycle was particularly fast: the new primary was only up for about 10 seconds (although it had
completedrecovery) before being shut down again, and pg_rewind applied to it to reconnect it with the promoted
secondary.

This needs a lot more information before somebody can reasonably act on
it.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Christophe Pettus
Date:
Subject: requested timeline ... does not contain minimum recovery point ...
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] pgsql: Remove pgbench "progress" testpending solution of its timing is (fwd)