Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyKxA-0000Dz-9M for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 18:26:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gyKx8-0005L6-Ul for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 18:26:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyKx8-0005KA-Hu for pgsql-general@lists.postgresql.org; Mon, 25 Feb 2019 18:26:10 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyKx4-0003mL-6h for pgsql-general@lists.postgresql.org; Mon, 25 Feb 2019 18:26:09 +0000 Received: by mail-oi1-x231.google.com with SMTP id j135so8064035oib.13 for ; Mon, 25 Feb 2019 10:26:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdf-com.20150623.gappssmtp.com; s=20150623; h=from:references:in-reply-to:mime-version:thread-index:date :message-id:subject:to:cc:content-transfer-encoding; bh=4pecmEuO2ini8xgOQKSPrTx2OC1GJ0VFaCNYGE6hlMo=; b=zV5TAzpdl0ifq+/3hLZLvKks1A18RvHYDZ4PoIGnKloVNDn99D6c4iszzmUcSbGiCL n3qjY3NKnAGyMkV+Lwrj4a6lI7L8o9qt0JNNEOnuNFXSt96tb7wwyeUctypFutmY1P2S eK9g9bHZ0zyCUDH+bMkQnLsCWjoxB0NLgqeYbQt1bYxeU2jXOEXLwzgJJ4zqgNnPBwUt 1kOPQZiSLfnKloQxa85xwZ8Ptqaa7VETQFqcyS7NvXFbqgYooczuLwE/FrUWplTSv3ZN o9tgXQA8xgDVjvzbibnf9S+1u/EiwIsMEcHc0lJwNxDeIpRb9HYZrXZ3GX2Vo1LVUOmg cMUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc :content-transfer-encoding; bh=4pecmEuO2ini8xgOQKSPrTx2OC1GJ0VFaCNYGE6hlMo=; b=jtHlvgp629I5hEgNcabslLVMlbQ7XZrprNsqGBC/hd7rGr7eV6W/zYc2H15Wfb64gI 6zkP4LgOQgGYBrouix2Z79N1+FIqVxDN5uUzVjGwoEiFz6wa3vQ/5BHQgTj2Vvqpl1P3 ltW8kXC3MTE14/+tnxzPRZMkRlMGlcER8YbLTVVyN+jJYb6ZQgobHBZxpTrgrnCWVsIQ 1af+xRfWOYXeLTvHf+CvQXLTonhQ71jiTkFZvWYnvM5BWSKwLGZHohMYBcKo5rC71WyA iRAQCx+aRS0MgL62sucmYhrm0KHLu+MfB1zAMhA364g8rmlXX51JLOO6iLDwAI9V4MY8 mX1g== X-Gm-Message-State: AHQUAuaV4/4Q3DCKVlokwhCENJ6sWRlmPAOcqP9TvPov894ldF1vXRIu S9YWBI3aZhtGTL+C2IXnIWutSUha0yhN9jrcitykSO3NW2xayog/sbwWcJBJqnxzkbQfjFBpqCJ uzZn6g712ynN356QQ9/z22Szu1sIgcLdRIzHCCnrdVHxT X-Google-Smtp-Source: AHgI3IYPBf1szbrefdDB34OmS1pUPJhmH46q4yetvfvH+tv7ph9xtx+CMC3LXqcdt+gPOjf0EV1bzkzafgU3IVla0bE= X-Received: by 2002:aca:f583:: with SMTP id t125mr11616640oih.124.1551119162596; Mon, 25 Feb 2019 10:26:02 -0800 (PST) From: "Daniel Fink (PDF)" References: <9948a2f6ff8846248974dbe597ea7cae@mail.gmail.com> <1437282597.11040.1549984481390.JavaMail.zimbra@opensysperu.com> In-Reply-To: <1437282597.11040.1549984481390.JavaMail.zimbra@opensysperu.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHRDP/bbGhIdIDIRed4gL2OJ7b/jwIuw4EzpebeH2A= Date: Mon, 25 Feb 2019 19:26:01 +0100 Message-ID: <3fde8b077a1919ce171f42991641b155@mail.gmail.com> Subject: RE: BDR 1.0: background worker wants to start that should not be there To: Alvaro Aguayo Garcia-Rada Cc: pgsql-general Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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" To: "pgsql-general" 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 "bd= r (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=C3=BCnchen, Germany M=C3=BCnchen HRB 87307 DE 128214899 *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 (=E2=80=9Cspam=E2=80=9D). = If you have any concerns about this process, please contact us at legal.department@pdf.com . --=20 This message may contain confidential and privileged information. If it has= =20 been sent to you in error, please reply to advise the sender of the error= =20 and then immediately permanently delete it and all attachments to it from= =20 your systems. If you are not the intended recipient, do not read, copy,=20 disclose or otherwise use this message or any attachments to it. The sender= =20 disclaims any liability for such unauthorized use. PLEASE NOTE that all=20 incoming e-mails sent to PDF e-mail accounts will be archived and may be=20 scanned by us and/or by external service providers to detect and prevent=20 threats to our systems, investigate illegal or inappropriate behavior,=20 and/or eliminate unsolicited promotional e-mails (=E2=80=9Cspam=E2=80=9D). = If you have any=20 concerns about this process, please contact us at legal.department@pdf.com= =20 .