Re: Standalone synchronous master - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: Standalone synchronous master
Date
Msg-id 21E3EBC7-0A3D-471C-8309-6F33D59048B7@phlo.org
Whole thread Raw
In response to Re: Standalone synchronous master  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On Jan24, 2014, at 22:29 , Josh Berkus <josh@agliodbs.com> wrote:
> On 01/24/2014 12:47 PM, Heikki Linnakangas wrote:
>> ISTM the consensus is that we need better monitoring/administration
>> interfaces so that people can script the behavior they want in external
>> tools. Also, a new synchronous apply replication mode would be handy,
>> but that'd be a whole different patch. We don't have a patch on the
>> table that we could consider committing any time soon, so I'm going to
>> mark this as rejected in the commitfest app.
> 
> I don't feel that "we'll never do auto-degrade" is determinative;
> several hackers were for auto-degrade, and they have a good use-case
> argument.  However, we do have consensus that we need more scaffolding
> than this patch supplies in order to make auto-degrade *safe*.
> 
> I encourage the submitter to resumbit and improved version of this patch
> (one with more monitorability) for  9.5 CF1.  That'll give us a whole
> dev cycle to argue about it.

There seemed to be at least some support for having way to manually
degrade from sync rep to async rep via something like
 ALTER SYSTEM SET synchronous_commit='local';

Doing that seems unlikely to meet much resistant on grounds of principle,
so it seems to me that working on that would be the best way forward for
the submitter. I don't know how hard it would be to pull this off,
though.

best regards,
Florian Pflug




pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: 9.2.1 & index-only scans : abnormal heap fetches after VACUUM FULL
Next
From: Greg Stark
Date:
Subject: pg_get_viewdefs() indentation considered harmful