Re: Streaming replication failover process - Pgsql 9.2 - Mailing list pgsql-general

From John R Pierce
Subject Re: Streaming replication failover process - Pgsql 9.2
Date
Msg-id 10708544-131b-281e-cf10-4da7ef038a78@hogranch.com
Whole thread Raw
In response to Streaming replication failover process - Pgsql 9.2  (Patrick B <patrickbakerbr@gmail.com>)
List 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 by date:

Previous
From: Patrick B
Date:
Subject: Streaming replication failover process - Pgsql 9.2
Next
From: Adrian Klaver
Date:
Subject: Re: Streaming replication failover process - Pgsql 9.2