Re: Quorum commit for multiple synchronous replication.
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Josh Berkus <josh@agliodbs.com>, Fujii Masao <masao.fujii@gmail.com>, Petr Jelinek <petr@2ndquadrant.com>,
Michael Paquier <michael.paquier@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2016-09-16T17:04:15Z
Lists: pgsql-hackers
Attachments
- 000_change_syntax_96.patch (text/x-patch) patch
- 001_quorum_commit_v2.patch (text/x-patch) patch v2
On Fri, Sep 9, 2016 at 6:23 PM, Simon Riggs <simon@2ndquadrant.com> wrote: > On 8 September 2016 at 10:26, Masahiko Sawada <sawada.mshk@gmail.com> wrote: > >> "k (n1, n2, n3)" == "first k (n1, n2, n3)" doesn't break backward >> compatibility but most users would think "k(n1, n2, n3)" as quorum >> after introduced quorum. >> I wish we can change the s_s_names syntax of 9.6 to "first k(n1, n2, >> n3)" style before 9.6 releasing if we got consensus. > > Let's see the proposed patch, so we can evaluate the proposal. > Attached 2 patches. 000 patch changes syntax of s_s_names from 'k(n1, n2, n3)' to 'First k (n1, n2,n3)' for PG9.6. 001 patch adds the quorum commit using syntax 'Any k (n1, n2,n3)' for PG10. Since we already released 9.6RC1, I understand that it's quite hard to change syntax of 9.6. But considering that we support the quorum commit, this could be one of the solutions in order to avoid breaking backward compatibility and to provide useful user interface. So I attached these patches. Regards, -- Masahiko Sawada NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Set the priorities of all quorum synchronous standbys to 1.
- 346199dcab4c 10.0 landed
-
Improve documentation and comment for quorum-based sync replication.
- a790ed9f69ef 10.0 landed