Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward? - Mailing list pgsql-general

From milist ujang
Subject Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward?
Date
Msg-id CACG9ogzKCKm1XLpMQtq4MXD=k8xdrYx7MgGypW8VKXMZJ4ivLA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward?  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [GENERAL] BDR, wal segment has been removed, is it possible move forward?  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-general
Hi Craig,

On Wed, Sep 6, 2017 at 4:07 PM, Craig Ringer <craig@2ndquadrant.com> wrote:

You could drop and re-create the replication slot, I guess. But your nodes would be hopelessly out of sync and need manual resync (with data replication disabled) of one node vs another.

Thanks for pointing to replication slot.
I Simulate the similar situation in dev env by remove the wal segment on node1, when  node2 keep inserting into a table, now it perfectly can move forward to latest wal segment, but the difference situation is at node_status.

In production node_status is  i  in node1 but  r  in node2, where on my dev both nodes keep  r  , even I waited to let it may change quite long.

can I safely update the node_status directy on bdr.bdr_nodes?


--

pgsql-general by date:

Previous
From: stimits@comcast.net
Date:
Subject: Re: [GENERAL] column names query
Next
From: hamann.w@t-online.de
Date:
Subject: Re: [GENERAL] column names query