Re: synchronous_commit and remote_write - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: synchronous_commit and remote_write
Date
Msg-id 20120509020915.GB16881@momjian.us
Whole thread Raw
In response to Re: synchronous_commit and remote_write  (Aidan Van Dyk <aidan@highrise.ca>)
Responses Re: synchronous_commit and remote_write
List pgsql-hackers
On Tue, May 08, 2012 at 10:04:46PM -0400, Aidan Van Dyk wrote:
> On Tue, May 8, 2012 at 9:13 PM, Bruce Momjian <bruce@momjian.us> wrote:
> > It seems pretty confusing that synchronous_commit = 'remote_write' means
> > write confirmed to the remote socket, not write to the file system.  Is
> > there no better term we could some up with?  remote_pipe?
> > remote_transfer?
> 
> remote_accept?
> 
> And then, I could envision (if it continues down this road):
>   off
>   local
>   remote_accept
>   remote_write
>   remote_sync
>   remote_apply (implies visible to new connections on the standby)
> 
> Not saying all off these are necessarily worth it, but they are all
> the various "stages" of WAL processing on the remote...

The _big_ problem with "write" is that we might need that someday to
indicate some other kind of write, e.g. write to kernel, fsync to disk.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Aidan Van Dyk
Date:
Subject: Re: synchronous_commit and remote_write
Next
From: "Etsuro Fujita"
Date:
Subject: Re: WIP Patch: Selective binary conversion of CSV file foreign tables