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

From Joshua D. Drake
Subject Re: Cascading replication: should we detect/prevent cycles?
Date
Msg-id 50D176CB.3050008@commandprompt.com
Whole thread Raw
In response to Re: Cascading replication: should we detect/prevent cycles?  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Cascading replication: should we detect/prevent cycles?
List pgsql-hackers
On 12/18/2012 11:57 PM, Simon Riggs wrote:
>
> On 19 December 2012 03:03, Josh Berkus <josh@agliodbs.com> wrote:
>
>> So, my question is:
>>
>> 1. should we detect for replication cycles?  *Can* we?
>> 2. should we warn the user, or refuse to start up?
>
> Why not just monitor the config you just created? Anybody that
> actually tests their config would spot this.

I think you are being optimistic. We should probably have some logic 
that prevents circular replication.

>




pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: system administration functions with hardcoded superuser checks
Next
From: Simon Riggs
Date:
Subject: Re: Cascading replication: should we detect/prevent cycles?