Re: Streaming replication failover process - Pgsql 9.2

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Streaming replication failover process - Pgsql 9.2
Дата
Msg-id 10708544-131b-281e-cf10-4da7ef038a78@hogranch.com
обсуждение исходный текст
Ответ на Streaming replication failover process - Pgsql 9.2  (Patrick B <patrickbakerbr@gmail.com>)
Список pgsql-general
On 7/10/2016 2:19 PM, Patrick B wrote:
> 1. When the connection comes back, will the master and slave work as
> expected? The streaming replication should be ok?

as long as you have sufficient WAL available it should recover fine.
you might have to restart the slave to get it to reconnect.

>
> 2. As the master will be down, I don't wanna slave turns into a master
> by Failover. The trigger_file line on recovery.conf on the slave
> server is commented, so should be ok here right? The slave will be
> still a slave once master is down....
>

failover is a function of whatever cluster management software you use,
postgres won't failover on its own.


--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Patrick B
Дата:
Сообщение: Streaming replication failover process - Pgsql 9.2
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Streaming replication failover process - Pgsql 9.2