Re: Streaming replication and triggering failover

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Streaming replication and triggering failover
Date: 2010-01-08 13:31:38
Message-ID: 4B4733BA.9050805@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-01-08 13:33:24 Re: Patch: Allow substring/replace() to get/set bit values
Previous Message Fujii Masao 2010-01-08 13:02:53 Re: Streaming replication and triggering failover