Re: [HACKERS] archive_timeout ignored directly after promotion

2017-06-21 Thread Michael Paquier
On Thu, Jun 22, 2017 at 2:58 AM, Andres Freund wrote: > One easy way to fix that would be to just wakeup the checkpointer from > the startup process once at the end of recovery, but it'd not be > pretty. I think it'd be better to change the >

[HACKERS] archive_timeout ignored directly after promotion

2017-06-21 Thread Andres Freund
Hi, When promoting a standby without using the "fast promotion" logic, e.g. by using recovery targets (which doesn't use fast promotion for unbeknownst to me reasons), checkpointer doesn't necessarily respect archive timeout for the first cycle after promotion. The reason for that is that it