Re: Cascading replication: should we detect/prevent cycles? - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: Cascading replication: should we detect/prevent cycles?
Date
Msg-id 510B79CA.6060108@catalyst.net.nz
Whole thread Raw
In response to Re: Cascading replication: should we detect/prevent cycles?  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
List pgsql-hackers
On 01/02/13 20:43, Peter Geoghegan wrote:
>
>
> On Sunday, 27 January 2013, Robert Haas <robertmhaas@gmail.com
> <mailto:robertmhaas@gmail.com>> wrote:
>  > If we're going to start installing safeguards against doing stupid
>  > things, there's a long list of scenarios that happen far more
>  > regularly than this ever will and cause far more damage.
>
> +1

+1

...and there are other areas that we could spend our energy on that 
would be more worthwhile I think. One I'd like to see is the opposite of:

$ pg_ctl promote

i.e:

$ pg_ctl demote

So a "retired" master would read a (newly supplied perhaps) 
recovery.conf and start to apply changes from there (with suitable 
safeguards). We have failover pretty painless now... but reconstruction 
of the original primary as a new standby is still too 
fiddly/resource/time consuming etc.

Regards

Mark




pgsql-hackers by date:

Previous
From: Jeevan Chalke
Date:
Subject: Re: pg_dump --pretty-print-views
Next
From: Pavan Deolasee
Date:
Subject: Re: [GENERAL] Unusually high IO for autovacuum worker