Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4C2A71337B68 for ; Wed, 16 Feb 2011 21:29:52 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 70761-01 for ; Thu, 17 Feb 2011 01:29:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yi0-f46.google.com (mail-yi0-f46.google.com [209.85.218.46]) by mail.postgresql.org (Postfix) with ESMTP id AC9B91337B34 for ; Wed, 16 Feb 2011 21:29:44 -0400 (AST) Received: by yib18 with SMTP id 18so904419yib.19 for ; Wed, 16 Feb 2011 17:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Miahuhk2rQ+uLEIelah7ohNsIjvdLxx3zZbEf8QsaYA=; b=mMUraPrVnJl5E2+NAQNfPWVy20/78zUfQiJtD4xHpoBPVzCRhrfhk26S2Bt+JhQwDi jnwV8tOxWtlimr4JvSaA4Q0QUYWn8ItAPuiVXF6rQz9oqwmivfmBb1DV30KqwYZnY3aU zQZpOTVyr7BdB5ZgoFRWnmNlcJji/08ccZDbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HTTg+ktgroSKriH7suqGDsZXCr+nBwNjYqgEU2gMYfQj4paIVmc5W2npTlBrremoPZ imZM8U2MDm316WblU8DvrlIqw3KR+0fgjrEo/eorgrq1pi/XI/mbqfO1KOtSd0t5mw8B aFkgm5Lo1TN1ojFtR+5+KklMSyvCLWr9Y6Gcw= MIME-Version: 1.0 Received: by 10.236.103.15 with SMTP id e15mr2398085yhg.7.1297906184415; Wed, 16 Feb 2011 17:29:44 -0800 (PST) Received: by 10.236.105.236 with HTTP; Wed, 16 Feb 2011 17:29:44 -0800 (PST) Date: Thu, 17 Feb 2011 09:29:44 +0800 Message-ID: Subject: Timeline Issue From: Selva manickaraja To: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary=0023547c906b12ee7c049c7055f1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.035 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201102/157 X-Sequence-Number: 36796 --0023547c906b12ee7c049c7055f1 Content-Type: text/plain; charset=ISO-8859-1 Dear All, We have a primary running continous archiving to a secondary. We managed to test fail-over to the secondary by stopping the database in the primary. Then some transactions were tested in the secondary. It was acting well as a primary to accept both read and write. Now we want to revert this acting primary back to secondary and bring up the actual primary. We know that the secondary had gone out of synch in ahead of primary. So we do a PITR in this secondary before the time when the initial primary was brought down. Now the primary is up and the secondary is brought up as hot-standby. The secondary complaints that it cannot recover because its Timeline 2 does not match with the Timeline 1 of the primary. How can this be resolved? Thank you. Regards, Selvam --0023547c906b12ee7c049c7055f1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear All,

We have a primary running continous archiving to a seconda= ry. We managed to test fail-over to the secondary by stopping the database = in the primary. Then some transactions were tested in the secondary. It was= acting well as a primary to accept both read and write.

Now we want to revert this acting primary back to secondary and bring u= p the actual primary. We know that the secondary had gone out of synch in a= head of primary. So we do a PITR in this secondary before the time when the= initial primary was brought down. Now the primary is up and the secondary = is brought up as hot-standby. The secondary complaints that it cannot recov= er because its Timeline 2 does not match with the Timeline 1 of the primary= .

How can this be resolved?

Thank you.

Regards,

Selv= am
--0023547c906b12ee7c049c7055f1--