Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auomn-0007p1-ES for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Apr 2016 22:15:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1auomm-0001rp-W3 for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Apr 2016 22:15:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1auomm-0001rU-Et for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 22:15:20 +0000 Received: from col004-omc3s12.hotmail.com ([65.55.34.150]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1auomi-0004n3-8S for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 22:15:19 +0000 Received: from COL131-W38 ([65.55.34.135]) by COL004-OMC3S12.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 25 Apr 2016 15:15:13 -0700 X-TMN: [98ZC0Zox9UJXjZtkjkwnN/V8dhICcVyT] X-Originating-Email: [johnlumby@hotmail.com] Message-ID: From: John Lumby To: Julien Rouhaud , Michael Paquier CC: pgsql bugs Subject: Re: BUG #14109: pg_rewind fails to update target control file in one scenario Date: Mon, 25 Apr 2016 18:15:12 -0400 Importance: Normal In-Reply-To: <571E4EB1.5000104@dalibo.com> References: <20160424192549.2725.71787@wrigleys.postgresql.org>,,,, <571E2F5F.4080500@dalibo.com>,,<571E4EB1.5000104@dalibo.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 25 Apr 2016 22:15:13.0376 (UTC) FILETIME=[F04C8E00:01D19F3F] X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org I've tested same scenario but with the setting recovery_target_timeline =3D 'latest' and on 9.5.2, and now the new Standby receives new WAL correctly after the pg_rewind and = restart So,=A0 assuming this is reliable (will work without requiring archiving) then my problem is solved. Thanks for everyone's help,=A0 please close the bug as user error Cheers,=A0 John ---------------------------------------- > Subject: Re: [BUGS] BUG #14109: pg_rewind fails to update target control = file in one scenario > To: johnlumby@hotmail.com; michael.paquier@gmail.com > CC: pgsql-bugs@postgresql.org > From: julien.rouhaud@dalibo.com > Date: Mon, 25 Apr 2016 19:06:57 +0200 > > On 25/04/2016 17:45, John Lumby wrote: >>> From: julien.rouhaud@dalibo.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 =3D off >> I am wondering whether >> recovery_target_timeline parameter =3D "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 =20=09=09=20=09=20=20=20=09=09=20=20 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs