Re: BDR: Can a node live alone after being detached

Поиск
Список
Период
Сортировка
От Sylvain MARECHAL
Тема Re: BDR: Can a node live alone after being detached
Дата
Msg-id CAJu=pHSSadBkxZJ1hOkCK4U4bJkTzmmHgfd3w0V8cZT_u6wpRA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BDR: Can a node live alone after being detached  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: BDR: Can a node live alone after being detached  (Craig Ringer <craig@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Correct place for feature requests
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Correct place for feature requests