Re: Standby doesn't chose a new timeline when promoted to master

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: prakhar jauhari <prak840(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Standby doesn't chose a new timeline when promoted to master
Date: 2013-05-31 05:30:22
Message-ID: CAL_0b1sQq=HrQUDqXMNskPjW==MaoHKjatX9RKA03R3bLPOTMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, May 30, 2013 at 2:17 AM, prakhar jauhari <prak840(at)gmail(dot)com> wrote:
> I am trying to set up Postgres 9.2 in HA mode. But i have noticed something
> strange happening with the xlogs being generated after a switch over.
>
> Problem:
> When a standby is promoted to master mode its not choosing a new timeline to
> work with. Can anyone please help me with the situations in which a standby
> doesn't chose a new timeline when promoted..

Could you please show the slave's log at the time of promotion to the
master, and your recovery.conf content.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

Profile: http://www.linkedin.com/in/grayhemp
Phone: USA +1 (415) 867-9984, Russia +7 (901) 903-0499, +7 (988) 888-1979
Skype: gray-hemp
Jabber: gray(dot)ru(at)gmail(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Amit Langote 2013-05-31 07:57:36 Re: Migration and snapshot of database
Previous Message Rodrigo Barboza 2013-05-31 05:09:06 Re: How do I know my table is bloated?