Re: Issues with Quorum Commit - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Issues with Quorum Commit
Date
Msg-id AANLkTimhj+aXXtrV-chhzqVocNSz1bQbRJptQHgNMkw_@mail.gmail.com
Whole thread Raw
In response to Re: Issues with Quorum Commit  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Wed, Oct 6, 2010 at 9:22 PM, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote:
> From my experience operating londiste, those states would be:
>
>  1. base-backup  — self explaining
>  2. catch-up     — getting the WAL to catch up after base backup
>  3. wanna-sync   — don't yet have all the WAL to get in sync
>  4. do-sync      — all WALs are there, coming soon
>  5. ok (async | recv | fsync | reply — feedback loop engaged)

I agree to mange these standby states in a different standpoint.

To avoid data loss, we must not promote the standby which is
catching up with the master in half way to the new master at the
failover. If clusterware can get the current standby state via SQL,
it can check whether the failover causes data loss or not
and give up failover before creating the trigger file.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: GIN vs. Partial Indexes
Next
From: Andrew Dunstan
Date:
Subject: Re: Git cvsserver serious issue