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