Streaming replication and Timelines

Поиск
Список
Период
Сортировка
От Serge Dubrouski
Тема Streaming replication and Timelines
Дата
Msg-id AANLkTimDJmd1Gnny-O+Ahj1m=ZkK8OnV+F34ucjKmTu3@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
Hello -

I'm trying to implement Streaming replication with several Hot-Standby
servers and floating IP for the Master Server. I mean when Master
server fails IP gets switched to the new Master and all standby
servers start receiving log data from the new Master. My problem
though is timelines. Whenever Stansby server gets triggered from
Stansby role to Master role it increases Timeline and that kind of
invalidates all other Standbys. They start to complain on mismatching
Timeline. The only way to fix them is to switch new Master into Backup
mode and resync al Standbys. On other hand if I don't use trigger file
and just stop Standby, remove recovery.conf file and start it back,
all other Standbys keep working well, but I'm not sure how safe is
this strategy. So the question if it's possible to avoid increasing
Timelines when trigger file is used.

Thanks.

--
Serge Dubrouski.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Maalini Samuganardan
Дата:
Сообщение: Re: Error stopping postgresql service
Следующее
От: "Vaughn, Adam (IMS)"
Дата:
Сообщение: long running commits