From: | John Lumby <johnlumby(at)hotmail(dot)com> |
---|---|
To: | Julien Rouhaud <julien(dot)rouhaud(at)dalibo(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | pgsql bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #14109: pg_rewind fails to update target control file in one scenario |
Date: | 2016-04-25 22:15:12 |
Message-ID: | COL131-W383FA65CC9B62A7ED0157DA3620@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
I've tested same scenario but with the setting
recovery_target_timeline = 'latest'
and on 9.5.2,
and now the new Standby receives new WAL correctly after the pg_rewind and restart
So, assuming this is reliable (will work without requiring archiving)
then my problem is solved.
Thanks for everyone's help, please close the bug as user error
Cheers, John
----------------------------------------
> Subject: Re: [BUGS] BUG #14109: pg_rewind fails to update target control file in one scenario
> To: johnlumby(at)hotmail(dot)com; michael(dot)paquier(at)gmail(dot)com
> CC: pgsql-bugs(at)postgresql(dot)org
> From: julien(dot)rouhaud(at)dalibo(dot)com
> Date: Mon, 25 Apr 2016 19:06:57 +0200
>
> On 25/04/2016 17:45, John Lumby wrote:
>>> From: julien(dot)rouhaud(at)dalibo(dot)com
>>>
>>> Did you set the recovery_target_timeline parameter to "latest" in the
>>> recovery.conf file? (see
>>> http://www.postgresql.org/docs/current/static/recovery-target-settings.html)
>>
>> Thanks Julien, no I did not, I will re-test with that later, on 9.5.2
>> Meanwhile one question on that. The documentation states
>> "Setting this to latest recovers
>> to the latest timeline found in the archive, which ..."
>> However I am running my systems with
>> archive_mode = off
>> I am wondering whether
>> recovery_target_timeline parameter = "latest"
>> is expected to work reliably to fix my particular problem when archiving is not in effect.
>>
>
> I'm not sure where it's documented, but the timeline change works with
> log shipping, and since 9.3 with streaming replication.
>
> That's why Michael previously said: "System A is still on its previous
> timeline 11, and will jump
> to timeline 12 once it has connected back. That's possible since 9.3."
>
> --
> Julien Rouhaud
> http://dalibo.com - http://dalibo.org
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-04-25 23:04:58 | Re: BUG #14109: pg_rewind fails to update target control file in one scenario |
Previous Message | Andres Freund | 2016-04-25 20:57:20 | Re: [BUGS] Breakage with VACUUM ANALYSE + partitions |