Обсуждение: Standby doesn't chose a new timeline when promoted to master

Поиск
Список
Период
Сортировка

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

От
prakhar jauhari
Дата:
Hi all,

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..

regards,
Prakhar.

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

От
Sergey Konoplev
Дата:
On Thu, May 30, 2013 at 2:17 AM, prakhar jauhari <prak840@gmail.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.ru@gmail.com