> On Jul 12, 2018, at 17:52, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> Wild guess: you did not issue a checkpoint on the promoted standby
> before running pg_rewind.
I don't believe a manual checkpoint was done on the target (promoted standby, new master), but it did one as usual during startup after the timeline switch:
> 2018-07-10 19:28:38 UTC [5068]: [1-1] user=,db=,app=,client= LOG: checkpoint starting: force
The pg_rewind was started about 90 seconds later.
--
-- Christophe Pettus
xof(at)thebuild(dot)com