| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Synchronous replication |
| Date: | 2010-07-22 02:54:25 |
| Message-ID: | AANLkTikvdZZy2+_=hGcYBRTx3d1Ty=6FTqh4mESTtQRY@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Jul 21, 2010 at 4:48 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>> There should be a way to specify "wait for *all* connected standby servers
>> to acknowledge"
>
> Agreed. I'll allow -1 as the valid value of the quorum parameter, which
> means that transaction commit waits for all connected standbys.
Done.
>> Please use self-explanatory names for the modes in START_REPLICATION
>> command, instead of just an integer.
>
> Agreed. What about changing the START_REPLICATION message to?:
>
> START_REPLICATION XXX/XXX SYNC_LEVEL { async | recv | fsync | replay }
Done.
I attached the updated version of the patch.
The code is also available in my git repository:
git://git.postgresql.org/git/users/fujii/postgres.git
branch: synchrep
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
| Attachment | Content-Type | Size |
|---|---|---|
| synch_rep_0722.patch | application/octet-stream | 52.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-07-22 02:57:22 | Re: psql \conninfo command (was: Patch: psql \whoami option) |
| Previous Message | Fujii Masao | 2010-07-22 02:51:10 | Re: Synchronous replication |