Re: BDR: Can a node live alone after being detached - Mailing list pgsql-general

From Sylvain MARECHAL
Subject Re: BDR: Can a node live alone after being detached
Date
Msg-id CAJu=pHSSadBkxZJ1hOkCK4U4bJkTzmmHgfd3w0V8cZT_u6wpRA@mail.gmail.com
Whole thread Raw
In response to Re: BDR: Can a node live alone after being detached  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: BDR: Can a node live alone after being detached  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-general

>> You shouldn't part a node from its self. The next revision will
>> prevent this with an error.
>
>
> Ok, this was not clear for me.

Or anyone else, hence the coming docs and code changes.

Sorry to bother again about that, but what about the "detached node cleanup" best practice?

Suppose I have 2 nodes, 'node1' and 'node2'. So I am OK to call bdr_part_by_node_names('node2') on node1 to detach node2. But then, is it safe to call bdr_part_by_node_names('node1') to do the cleanup on node2, or should I better call pg_drop_replication_slot('...') instead?

Thanks and Regards,
Sylvain

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Correct place for feature requests
Next
From: Adrian Klaver
Date:
Subject: Re: Correct place for feature requests