| From: | John R Pierce <pierce(at)hogranch(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Streaming replication failover process - Pgsql 9.2 |
| Date: | 2016-07-10 21:31:01 |
| Message-ID: | 10708544-131b-281e-cf10-4da7ef038a78@hogranch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2016-07-10 21:31:42 | Re: Streaming replication failover process - Pgsql 9.2 |
| Previous Message | Patrick B | 2016-07-10 21:19:14 | Streaming replication failover process - Pgsql 9.2 |