Re: Streaming replication and triggering failover

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Streaming replication and triggering failover
Дата
Msg-id 4B4733BA.9050805@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Streaming replication and triggering failover  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Streaming replication and triggering failover  (Fujii Masao <masao.fujii@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication and triggering failover
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Patch: Allow substring/replace() to get/set bit values