RE: BDR 1.0: background worker wants to start that should not be there

Поиск
Список
Период
Сортировка
От Daniel Fink (PDF)
Тема RE: BDR 1.0: background worker wants to start that should not be there
Дата
Msg-id 3fde8b077a1919ce171f42991641b155@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BDR 1.0: background worker wants to start that should not bethere  (Alvaro Aguayo Garcia-Rada <aaguayo@opensysperu.com>)
Список pgsql-general
Hi Alvaro,

Sorry for the late reply. Your mail was in the spam folder.
I used the commands you suggested already.
But I found another issue.
I had two databases running BDR replication. I did not know that they have
separate bdr.nodes tables.
After I called bdr.bdr_part_by_node_names again, it removed the failing
workers.

Thanks for your help.

Best Regards,
Daniel

-----Original Message-----
From: Alvaro Aguayo Garcia-Rada [mailto:aaguayo@opensysperu.com]
Sent: Tuesday, February 12, 2019 4:15 PM
To: Daniel Fink, PDF
Cc: pgsql-general
Subject: Re: BDR 1.0: background worker wants to start that should not be
there

Hi.

You have deleted the node from BDR setup, but you still have to delete it
from the postgres logical replication:

SELECT * FROM pg_replication_slots;
SELECT pg_drop_replication_slot('YOURSLOT');

As a remark, based on my BDR experience, when your cluster has been damaged,
your best option is to rebuild it.

Saludos,

Alvaro Aguayo
Jefe de Operaciones
Open Comb Systems E.I.R.L.

(+51-1) 337-7813 Anexo 4002
www.ocs.pe

----- Original Message -----
From: "Daniel Fink, PDF" <daniel.fink@pdf.com>
To: "pgsql-general" <pgsql-general@lists.postgresql.org>
Sent: Tuesday, 12 February, 2019 09:52:09
Subject: BDR 1.0: background worker wants to start that should not be there

Hi all,



After I used bdr.bdr_part_by_node_names(*p_nodes text[]*) and removed the
nodes from bdr.bdr_nodes table I still get log errors about the nonexistent
pg_replication_slot:



< 2019-02-12 06:26:21.166 PST >LOG:  starting background worker process "bdr
(6208877715678412212,1,22576474,)->bdr (6449651545875285115"



How does postgresql deduce which workers need starting?

Is there a table I am missing?



Best Regards,




*DANIEL FINK*

*Senior Software Engineer*

*tel* (+49) 89.767062.20
*fax*(+49) 89.767062.11
email daniel.fink@pdf.com

*PDF Solutions GmbH*
* (**a PDF Solutions Company)*
Managing Director: Kimon Michaels
Schwanthalerstr. 10
D-80336 München, Germany

München HRB 87307
DE 128214899

*www.pdf.com <http://www.pdf.com/>*

--
This message may contain confidential and privileged information. If it has
been sent to you in error, please reply to advise the sender of the error
and then immediately permanently delete it and all attachments to it from
your systems. If you are not the intended recipient, do not read, copy,
disclose or otherwise use this message or any attachments to it. The sender
disclaims any liability for such unauthorized use.  PLEASE NOTE that all
incoming e-mails sent to PDF e-mail accounts will be archived and may be
scanned by us and/or by external service providers to detect and prevent
threats to our systems, investigate illegal or inappropriate behavior,
and/or eliminate unsolicited promotional e-mails (“spam”).  If you have any
concerns about this process, please contact us at legal.department@pdf.com
<mailto:legal.department@pdf.com>.

--
This message may contain confidential and privileged information. If it has
been sent to you in error, please reply to advise the sender of the error
and then immediately permanently delete it and all attachments to it from
your systems. If you are not the intended recipient, do not read, copy,
disclose or otherwise use this message or any attachments to it. The sender
disclaims any liability for such unauthorized use.  PLEASE NOTE that all
incoming e-mails sent to PDF e-mail accounts will be archived and may be
scanned by us and/or by external service providers to detect and prevent
threats to our systems, investigate illegal or inappropriate behavior,
and/or eliminate unsolicited promotional e-mails (“spam”).  If you have any
concerns about this process, please contact us at legal.department@pdf.com
<mailto:legal.department@pdf.com>.


В списке pgsql-general по дате отправления:

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: Logical replication very slow
Следующее
От: "Daniel Fink (PDF)"
Дата:
Сообщение: RE: bdr replication breaks down