Re: Streaming replication and triggering failover - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming replication and triggering failover
Date
Msg-id 4B4733BA.9050805@enterprisedb.com
Whole thread Raw
In response to Re: Streaming replication and triggering failover  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Streaming replication and triggering failover  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao wrote:
> You dropped CheckForStandbyTrigger() called at the end of recovery.
> I think that this would be problem when an invalid record is found before
> we reaches a streaming recovery state. The standby would be out-of-control
> of the clusterware, and be brought up. Which might cause a split-brain
> syndrome. We should need something to prevent such unexpected
> activation?

I modified ReadRecord to PANIC if an invalid record is found during
streaming recovery.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Streaming replication and triggering failover
Next
From: Alvaro Herrera
Date:
Subject: Re: Patch: Allow substring/replace() to get/set bit values