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 1gyL1e-0000VH-CT for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 18:30:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gyL1d-0006Lj-1M for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 18:30:49 +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 1gyL1c-0006J1-P1 for pgsql-general@lists.postgresql.org; Mon, 25 Feb 2019 18:30:48 +0000 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyL1a-0003u9-9c for pgsql-general@lists.postgresql.org; Mon, 25 Feb 2019 18:30:48 +0000 Received: by mail-ot1-x332.google.com with SMTP id z19so8753658otm.2 for ; Mon, 25 Feb 2019 10:30:46 -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=mEyKntPoPzbf9TMfQ5iJfpRyu1jdWZz3rgnUZZqkZPs=; b=PeIUsh1xAgK9qye64xJfEXxm3QNoAYKDmU0Oxyh22e3BJIteRp2I0fkrIZnzywtroJ yVvuSfJ7Is3vu//atlT4cYjqNcraETupY1Ekx/BuJnEd7lPlm9XMTRWS1XPBkm1dPro+ gMPcnJR+d2jBnvYAujQUwc8mofXcoEE3Bu7Cmv709Jt6mOYwlGgYlZ7glss0hrlIQraa 4EDngEjkxreeh2/ka721kTDBfitKG0tdamwQtPH0RnyYEMpohjqLWUvdS3+6Oy8lZlF3 RoEYD8fymtCuB+6l/p7VIKujSVUZGYFin9kKJAn28secNJoHRsL3Vm5DG08Azx1l4T6K kLpA== 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=mEyKntPoPzbf9TMfQ5iJfpRyu1jdWZz3rgnUZZqkZPs=; b=pP1tADEMyWLpIvzTUTKkungoNYvIA+hO5MN1/AxoUgN0/cDsDCo0/Cul2Ja965SNlm nL9TQ3/vk+hHZKws2Sio9OsBFwVITzhBhtBG3V+gv5oDlHBRpL9xPuyXDdxmKqaP0LTs iCxLTDWiBv361U7Fc1SL8nESRfHq1nFhoCEz79v7B/XY0W8vLknDuMG623oNEq/T2JOW 4CIW2lRK9PJFuQVEWuZxC4w8AniAY97t8HwDvol3fFxihMJ7qGxgmFmUOoBuYzrmKupU /I2z2Zehu2UoQA1K3WW6uJXUevN9eVWnKAMOUXcfURpca/vcGcJuLeGUVYCNAfFRcz53 iM7w== X-Gm-Message-State: AHQUAuZMT22G3qyReC2silaB7GeflHCrs59hW9v/1lHb+9GXAxOOeI0J mGh+t/ARGD3zgBVxFWuOFYo0l+x+xHcNlC3QHtwjX6DqKHPqEherxtZSYYqOcdJ2wKJTX7WjfLC xyGKj8S6YRYcPcrdR+eWMznJjD+kH3owWGpBUAgZBP4ur X-Google-Smtp-Source: AHgI3Ib/L7TLqSxFvIG9g5eMBgd0qFTKNLWPHF9m/oYmRMJdyQDlhvFZKQb5vVt4pMP8mYpcSoQWVvkbI91V41zbcTs= X-Received: by 2002:a05:6830:13c2:: with SMTP id e2mr12488923otq.345.1551119443918; Mon, 25 Feb 2019 10:30:43 -0800 (PST) From: "Daniel Fink (PDF)" References: <910570749.3588.1549891283717.JavaMail.zimbra@opensysperu.com> In-Reply-To: <910570749.3588.1549891283717.JavaMail.zimbra@opensysperu.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJMWZec8n77OAyOElmhyz68NcRCiwEbOr/YpPjiYsA= Date: Mon, 25 Feb 2019 19:30:42 +0100 Message-ID: <8ac8eb36434a78a2f4262c2c8e0ab125@mail.gmail.com> Subject: RE: bdr replication breaks down 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, I could not determine what exactly the command was. But I "fixed" it by using bdr.skip_changes_upto() to skip this change from application. The replication resumed after that. Best Regards, Daniel -----Original Message----- From: Alvaro Aguayo Garcia-Rada [mailto:aaguayo@opensysperu.com] Sent: Monday, February 11, 2019 2:21 PM To: Daniel Fink (PDF) Cc: pgsql-general Subject: Re: bdr replication breaks down What's the command you are running to trigger such behaviour? Regards, 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: Monday, 11 February, 2019 05:18:30 Subject: bdr replication breaks down Hi all, I have a bdr replication setup that worked fine until recently. But it seems like one command cannot be replicated, and it breaks down the whole process on all hosts where it is sent to. I appended part of the log file, it gets repeated over and over. Can I somehow omit this command and try if the next one works? Best Regards, Daniel Fink < 2019-02-08 00:00:01.658 CET >ERROR: schema "pg_temp_30" does not exist < 2019-02-08 00:00:01.658 CET >CONTEXT: apply QUEUED_DROP in commit 7D/2E3143B0, xid 106791715 commited at 2019-01-28 10:12:34.348577+01 (actio= n #2) from node (6208877715678412212,1,2942745) < 2019-02-08 00:00:01.661 CET >LOG: worker process: bdr (6449651545875285115,1,16388,)->bdr (6208877715678412212,1, (PID 27640) exited with exit code 1 < 2019-02-08 00:00:06.666 CET >LOG: starting background worker process "bd= r (6449651545875285115,1,16388,)->bdr (6208877715678412212,1," < 2019-02-08 00:00:07.641 CET >ERROR: schema "pg_temp_30" does not exist < 2019-02-08 00:00:07.641 CET >CONTEXT: apply QUEUED_DROP in commit 7D/2E3143B0, xid 106791715 commited at 2019-01-28 10:12:34.348577+01 (actio= n #2) from node (6208877715678412212,1,2942745) < 2019-02-08 00:00:07.644 CET >LOG: worker process: bdr (6449651545875285115,1,16388,)->bdr (6208877715678412212,1, (PID 27645) exited with exit code 1 < 2019-02-08 00:00:12.649 CET >LOG: starting background worker process "bd= r (6449651545875285115,1,16388,)->bdr (6208877715678412212,1," < 2019-02-08 00:00:13.633 CET >ERROR: schema "pg_temp_30" does not exist < 2019-02-08 00:00:13.633 CET >CONTEXT: apply QUEUED_DROP in commit 7D/2E3143B0, xid 106791715 commited at 2019-01-28 10:12:34.348577+01 (actio= n #2) from node (6208877715678412212,1,2942745) *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 .