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 1gtCdF-00014O-Lk for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 14:32:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtCdE-0006Ht-Ap for pgsql-general@arkaria.postgresql.org; Mon, 11 Feb 2019 14:32:24 +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 1gtCdD-0006Hl-To for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 14:32:24 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtCd8-00069M-M7 for pgsql-general@lists.postgresql.org; Mon, 11 Feb 2019 14:32:23 +0000 Received: by mail-ot1-x32f.google.com with SMTP id g1so3767281otj.11 for ; Mon, 11 Feb 2019 06:32:18 -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; bh=lLb/INwmam9PaGc+1m5PQtSqHQxxdarVMj3Lmr8CwUk=; b=MugpcGEScfQsYWAWR8fvycaaWl70nNQ9l8zpE6iv26D6ggF8yTPALPuKrEKqLLLZmp 8EcobBYr0Cv8azsbX1qgLyy+ifimxScAYhdQUKV8R0OtHFnxHqk+8+QeMHoTBWJX80Dp ERDdwITaMqhC6oRYTQaJ0XFsFnBMSsjICDPDr8C/kyNhVcER5e+7kJPyqnCsWDeIGr5e HNhQFgmMj5NiRD+LQKWDtujk6NiyMZ17HwhFwWjgq55+gU6kY8T1NjQpeoR6Eb6Ysq8y PdE8Fm9QZGAK6+1RcPDlLnwvRZAymt/lBjrONGqIA3x6UddVbsKPWb8o3cKfLClZbk6p qTnQ== 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; bh=lLb/INwmam9PaGc+1m5PQtSqHQxxdarVMj3Lmr8CwUk=; b=Zsiui6mDOnjYQIpXN9XP8UHNOKqfSjingcR4vPr06U1s2SseB+TB7WbVeQ0VIvfmtM tadHXU0EruSrn00/32Im1M4BR4eBc1nv/YU80aRZkYlGupXRM2tadwEw4OhszVi7rUK0 Hz/1vQ1J0OA5OjUIS3Bb/+898qZETXgvVx5goDWS9ikFm3+txWhMpWaufe458BbWNdn/ M+FUyHUZWpLFnx5lyCT/CxqIDIuS7y7mwLEE8zxnA1ggVylVfnCyDaT1V/Bb22Eq52kZ Qdne7rIY7VaFtZEqZCcoL0Dx8FSIgf+6VASkZa8F2cWyZ3ZproYuiuaqPRwMP9JdBsjD 2KaA== X-Gm-Message-State: AHQUAubF2J5Zw9qYfsMAyHhViEHjooG00zTmJZ6MsselB7/rtEhthKrI NpRKH9XoAcl4QIqDkNjz90/c+uLiiZPXTBQ37nuPbtj7/zeg3owQs2sfkHh2nYUHqG/kMbbvjmW Y0yPMMtB4u/RGY9ZoLYqVIte5yzOH2FrlpxbpqNiQURAO X-Google-Smtp-Source: AHgI3IYe1/ztUQis5iFipKrh1NYX8r/WHWndHif3Jg/plMVxd+Uyuw87ciHXbF0s66SaXtugfknWOFzkzvKEaAmlDsU= X-Received: by 2002:a9d:5f83:: with SMTP id g3mr6638975oti.346.1549895534846; Mon, 11 Feb 2019 06:32:14 -0800 (PST) From: "Daniel Fink (PDF)" References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJMWZec8n77OAyOElmhyz68NcRCi6TreQxw Date: Mon, 11 Feb 2019 15:32:12 +0100 Message-ID: <28ff0050e4ed04b83d8db8b27b61f9a8@mail.gmail.com> Subject: RE: bdr replication breaks down To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000cb3e4505819f2cb3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000cb3e4505819f2cb3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again, So I checked the x_logs and found the following lines. It seems like it faild at commiting a long transaction=E2=80=A6 I am still not sure what the pg_temp30 schema is used for. But I was able to =E2=80=9Cfix=E2=80=9D it with select bdr.skip_changes_upto('6208877715678412212', 1, 2942745, '7D/2E314530'); I guess the listed transaction is now missing in some of the nodes. rmgr: Standby len (rec/tot): 28/ 60, tx: 0, lsn: 7D/2E313238, prev 7D/2E313208, bkp: 0000, desc: running xacts: nextXid 106791716 latestCompletedXid 106791714 oldestRunningXid 106791715; 1 xacts: 106791715 rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313278, prev 7D/2E313238, bkp: 0000, desc: new_cid: rel 1663/2942745/12834; tid 14/1; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E3132C0, prev 7D/2E313278, bkp: 0000, desc: delete: rel 1663/2942745/12834; tid 14/1 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313300, prev 7D/2E3132C0, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/82; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313348, prev 7D/2E313300, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/82 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313388, prev 7D/2E313348, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/81; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E3133D0, prev 7D/2E313388, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/81 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313410, prev 7D/2E3133D0, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/80; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313458, prev 7D/2E313410, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/80 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313498, prev 7D/2E313458, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/79; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E3134E0, prev 7D/2E313498, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/79 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313520, prev 7D/2E3134E0, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/78; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313568, prev 7D/2E313520, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/78 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E3135A8, prev 7D/2E313568, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/77; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E3135F0, prev 7D/2E3135A8, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/77 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313630, prev 7D/2E3135F0, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/76; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313678, prev 7D/2E313630, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/76 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E3136B8, prev 7D/2E313678, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/75; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313700, prev 7D/2E3136B8, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/75 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313740, prev 7D/2E313700, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/74; cmin: 4294967295, cmax: 0, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313788, prev 7D/2E313740, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/74 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E3137C8, prev 7D/2E313788, bkp: 0000, desc: new_cid: rel 1663/2942745/12747; tid 12/10; cmin: 4294967295, cmax: 1, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313810, prev 7D/2E3137C8, bkp: 0000, desc: delete: rel 1663/2942745/12747; tid 12/10 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313850, prev 7D/2E313810, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/72; cmin: 4294967295, cmax: 1, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313898, prev 7D/2E313850, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/72 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E3138D8, prev 7D/2E313898, bkp: 0000, desc: new_cid: rel 1663/2942745/12747; tid 12/9; cmin: 4294967295, cmax: 2, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313920, prev 7D/2E3138D8, bkp: 0000, desc: delete: rel 1663/2942745/12747; tid 12/9 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313960, prev 7D/2E313920, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/71; cmin: 4294967295, cmax: 2, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E3139A8, prev 7D/2E313960, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/71 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E3139E8, prev 7D/2E3139A8, bkp: 0000, desc: new_cid: rel 1663/2942745/12759; tid 74/33; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313A30, prev 7D/2E3139E8, bkp: 0000, desc: delete: rel 1663/2942745/12759; tid 74/33 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313A70, prev 7D/2E313A30, bkp: 0000, desc: new_cid: rel 1663/2942745/12759; tid 74/34; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313AB8, prev 7D/2E313A70, bkp: 0000, desc: delete: rel 1663/2942745/12759; tid 74/34 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313AF8, prev 7D/2E313AB8, bkp: 0000, desc: new_cid: rel 1663/2942745/12759; tid 74/35; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313B40, prev 7D/2E313AF8, bkp: 0000, desc: delete: rel 1663/2942745/12759; tid 74/35 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313B80, prev 7D/2E313B40, bkp: 0000, desc: new_cid: rel 1663/2942745/12770; tid 14/33; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313BC8, prev 7D/2E313B80, bkp: 0000, desc: delete: rel 1663/2942745/12770; tid 14/33 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313C08, prev 7D/2E313BC8, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/73; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313C50, prev 7D/2E313C08, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/73 KEYS_UPDATED rmgr: Heap2 len (rec/tot): 34/ 66, tx: 106791715, lsn: 7D/2E313C90, prev 7D/2E313C50, bkp: 0000, desc: new_cid: rel 1664/0/12906; tid 1/49; cmin: 4294967295, cmax: 3, combo: 4294967295 rmgr: Heap len (rec/tot): 26/ 58, tx: 106791715, lsn: 7D/2E313CD8, prev 7D/2E313C90, bkp: 0000, desc: delete: rel 1664/0/12906; tid 1/49 KEYS_UPDATED rmgr: Heap len (rec/tot): 160/ 1660, tx: 106791715, lsn: 7D/2E313D18, prev 7D/2E313CD8, bkp: 1000, desc: insert: rel 1663/2942745/2943410; tid 0/7 rmgr: Transaction len (rec/tot): 352/ 384, tx: 106791715, lsn: 7D/2E3143B0, prev 7D/2E313D18, bkp: 0000, desc: commit: 2019-01-28 01:12:34.348577 PST; inval msgs: catcache 7 catcache 6 catcache 7 catcache 6 catcache 7 catcache 6 catcache 46 catcache 45 catcache 64 catcache 63 catcache 64 catcache 63 catcache 49 relcache 23783862 snapshot 2608 snapshot 1214 snapshot 2608 snapshot 2608 relcache 23783862 snapshot 2608 rmgr: Standby len (rec/tot): 44/ 76, tx: 0, lsn: 7D/2E314530, prev 7D/2E3143B0, bkp: 0000, desc: nontransactional message with 35 bytes *From:* Daniel Fink (PDF) [mailto:daniel.fink@pdf.com] *Sent:* Monday, February 11, 2019 11:19 AM *To:* pgsql-general@lists.postgresql.org *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 (action #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 "bdr (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 (action #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 "bdr (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 (action #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 * --=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 . --000000000000cb3e4505819f2cb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi again,

= =C2=A0

So I = checked the x_logs and found the following lines.

It seems like it faild at commiting a= long transaction=E2=80=A6

I am still not sure what the pg_temp30 schema is used for.

But I was abl= e to =E2=80=9Cfix=E2=80=9D it with

select bdr.skip_changes= _upto('6208877715678412212', 1, 2942745, '7D/2E314530');

=C2=A0<= /p>

I guess the listed = transaction is now missing in some of the nodes.

=C2=A0

rmgr: Standby=C2=A0=C2=A0=C2=A0=C2=A0 len (= rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 28/=C2=A0=C2=A0=C2=A0 60, tx:=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0, lsn: 7D/2E313238, prev 7D/2E3= 13208, bkp: 0000, desc: running xacts: nextXid 106791716 latestCompletedXid= 106791714 oldestRunningXid 106791715; 1 xacts: 106791715

rmgr: Heap2=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0= =C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313278, prev 7D/2E313238, bkp: 00= 00, desc: new_cid: rel 1663/2942745/12834; tid 14/1; cmin: 4294967295, cmax= : 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/to= t):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, = lsn: 7D/2E3132C0, prev 7D/2E313278, bkp: 0000, desc: delete: rel 1663/29427= 45/12834; tid 14/1 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (r= ec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791= 715, lsn: 7D/2E313300, prev 7D/2E3132C0, bkp: 0000, desc: new_cid: rel 1663= /2942745/12877; tid 65/82; cmin: 4294967295, cmax: 0, combo: 4294967295

rmgr: Heap=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2= =A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313348, prev 7= D/2E313300, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/82 KEYS= _UPDATED

rm= gr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2= =A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313388, = prev 7D/2E313348, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/= 81; cmin: 4294967295, cmax: 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =C2=A0len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2= =A0 58, tx:=C2=A0 106791715, lsn: 7D/2E3133D0, prev 7D/2E313388, bkp: 0000,= desc: delete: rel 1663/2942745/12877; tid 65/81 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0= =C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313410, prev 7D/2E3133D0, b= kp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/80; cmin: 429496729= 5, cmax: 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len= (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106= 791715, lsn: 7D/2E313458, prev 7D/2E313410, bkp: 0000, desc: delete: rel 16= 63/2942745/12877; tid 65/80 KEYS_UPDATED

= rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2= =A0 106791715, lsn: 7D/2E313498, prev 7D/2E313458, bkp: 0000, desc: new_cid= : rel 1663/2942745/12877; tid 65/79; cmin: 4294967295, cmax: 0, combo: 4294= 967295

rmgr:= Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0= =C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E3134E= 0, prev 7D/2E313498, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 6= 5/79 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0= =C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2= E313520, prev 7D/2E3134E0, bkp: 0000, desc: new_cid: rel 1663/2942745/12877= ; tid 65/78; cmin: 4294967295, cmax: 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0= =C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313568, prev 7D/2E313520, b= kp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/78 KEYS_UPDATED

rmgr: Heap2=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34= /=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E3135A8, prev 7D/2E31= 3568, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/77; cmin: 42= 94967295, cmax: 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2= =A0 106791715, lsn: 7D/2E3135F0, prev 7D/2E3135A8, bkp: 0000, desc: delete:= rel 1663/2942745/12877; tid 65/77 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, = tx:=C2=A0 106791715, lsn: 7D/2E313630, prev 7D/2E3135F0, bkp: 0000, desc: n= ew_cid: rel 1663/2942745/12877; tid 65/76; cmin: 4294967295, cmax: 0, combo= : 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0= =C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2= E313678, prev 7D/2E313630, bkp: 0000, desc: delete: rel 1663/2942745/12877;= tid 65/76 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):= =C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn= : 7D/2E3136B8, prev 7D/2E313678, bkp: 0000, desc: new_cid: rel 1663/2942745= /12877; tid 65/75; cmin: 4294967295, cmax: 0, combo: 4294967295

<= p class=3D"MsoNormal">rmgr: Heap=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/= =C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313700, prev 7D/2E313= 6B8, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/75 KEYS_UPDATE= D

rmgr: Hea= p2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2= =A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313740, prev 7= D/2E313700, bkp: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/74; cm= in: 4294967295, cmax: 0, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, = tx:=C2=A0 106791715, lsn: 7D/2E313788, prev 7D/2E313740, bkp: 0000, desc: d= elete: rel 1663/2942745/12877; tid 65/74 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0= =C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E3137C8, prev 7D/2E313788, bkp: 00= 00, desc: new_cid: rel 1663/2942745/12747; tid 12/10; cmin: 4294967295, cma= x: 1, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/t= ot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715,= lsn: 7D/2E313810, prev 7D/2E3137C8, bkp: 0000, desc: delete: rel 1663/2942= 745/12747; tid 12/10 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len = (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 1067= 91715, lsn: 7D/2E313850, prev 7D/2E313810, bkp: 0000, desc: new_cid: rel 16= 63/2942745/12877; tid 65/72; cmin: 4294967295, cmax: 1, combo: 4294967295

rmgr: Heap=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2= =A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313898, prev 7= D/2E313850, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/72 KEYS= _UPDATED

rm= gr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2= =A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E3138D8, = prev 7D/2E313898, bkp: 0000, desc: new_cid: rel 1663/2942745/12747; tid 12/= 9; cmin: 4294967295, cmax: 2, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2= =A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313920, prev 7D/2E3138D8, bkp: 0000,= desc: delete: rel 1663/2942745/12747; tid 12/9 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0 = =C2=A0=C2=A066, tx:=C2=A0 106791715, lsn: 7D/2E313960, prev 7D/2E313920, bk= p: 0000, desc: new_cid: rel 1663/2942745/12877; tid 65/71; cmin: 4294967295= , cmax: 2, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len= (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106= 791715, lsn: 7D/2E3139A8, prev 7D/2E313960, bkp: 0000, desc: delete: rel 16= 63/2942745/12877; tid 65/71 KEYS_UPDATED

= rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2= =A0 106791715, lsn: 7D/2E3139E8, prev 7D/2E3139A8, bkp: 0000, desc: new_cid= : rel 1663/2942745/12759; tid 74/33; cmin: 4294967295, cmax: 3, combo: 4294= 967295

rmgr:= Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0= =C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313A3= 0, prev 7D/2E3139E8, bkp: 0000, desc: delete: rel 1663/2942745/12759; tid 7= 4/33 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0= =C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx: =C2=A0106791715, lsn: 7D/2= E313A70, prev 7D/2E313A30, bkp: 0000, desc: new_cid: rel 1663/2942745/12759= ; tid 74/34; cmin: 4294967295, cmax: 3, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0= =C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313AB8, prev 7D/2E313A70, b= kp: 0000, desc: delete: rel 1663/2942745/12759; tid 74/34 KEYS_UPDATED

rmgr: Heap2=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34= /=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313AF8, prev 7D/2E31= 3AB8, bkp: 0000, desc: new_cid: rel 1663/2942745/12759; tid 74/35; cmin: 42= 94967295, cmax: 3, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2= =A0 106791715, lsn: 7D/2E313B40, prev 7D/2E313AF8, bkp: 0000, desc: delete:= rel 1663/2942745/12759; tid 74/35 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, = tx:=C2=A0 106791715, lsn: 7D/2E313B80, prev 7D/2E313B40, bkp: 0000, desc: n= ew_cid: rel 1663/2942745/12770; tid 14/33; cmin: 4294967295, cmax: 3, combo= : 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0= =C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2= E313BC8, prev 7D/2E313B80, bkp: 0000, desc: delete: rel 1663/2942745/12770;= tid 14/33 KEYS_UPDATED

rmgr: Heap2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):= =C2=A0=C2=A0=C2=A0=C2=A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn= : 7D/2E313C08, prev 7D/2E313BC8, bkp: 0000, desc: new_cid: rel 1663/2942745= /12877; tid 65/73; cmin: 4294967295, cmax: 3, combo: 4294967295

<= p class=3D"MsoNormal">rmgr: Heap=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/= =C2=A0=C2=A0=C2=A0 58, tx:=C2=A0 106791715, lsn: 7D/2E313C50, prev 7D/2E313= C08, bkp: 0000, desc: delete: rel 1663/2942745/12877; tid 65/73 KEYS_UPDATE= D

rmgr: Hea= p2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2= =A0 34/=C2=A0=C2=A0=C2=A0 66, tx:=C2=A0 106791715, lsn: 7D/2E313C90, prev 7= D/2E313C50, bkp: 0000, desc: new_cid: rel 1664/0/12906; tid 1/49; cmin: 429= 4967295, cmax: 3, combo: 4294967295

rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 len (rec/tot):=C2=A0=C2=A0=C2=A0=C2=A0 26/=C2=A0=C2=A0=C2=A0 58, tx:=C2= =A0 106791715, lsn: 7D/2E313CD8, prev 7D/2E313C90, bkp: 0000, desc: delete:= rel 1664/0/12906; tid 1/49 KEYS_UPDATED

= rmgr: Heap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2=A0 160/=C2=A0 1660, tx:=C2=A0 10679= 1715, lsn: 7D/2E313D18, prev 7D/2E313CD8, bkp: 1000, desc: insert: rel 1663= /2942745/2943410; tid 0/7

rmgr: Transaction len (rec/tot):=C2=A0=C2=A0=C2=A0 352/=C2=A0= =C2=A0 384, tx:=C2=A0 106791715, lsn: 7D/2E3143B0, prev 7D/2E313D18, bkp: 0= 000, desc: commit: 2019-01-28 01:12:34.348577 PST; inval msgs: catcache 7 c= atcache 6 catcache 7 catcache 6 catcache 7 catcache 6 catcache 46 catcache = 45 catcache 64 catcache 63 catcache 64 catcache 63 catcache 49 relcache 237= 83862 snapshot 2608 snapshot 1214 snapshot 2608 snapshot 2608 relcache 2378= 3862 snapshot 2608

rmgr: Standby=C2=A0=C2=A0=C2=A0=C2=A0 len (rec/tot):=C2=A0=C2=A0=C2= =A0=C2=A0 44/=C2=A0=C2=A0=C2=A0 76, tx:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 0, lsn: 7D/2E314530, prev 7D/2E3143B0, bkp: 0000, desc: = nontransactional message with 35 bytes

=C2=A0

From: Daniel Fink (PDF) [mailto= :daniel.fink@pdf.com]
Sen= t: Monday, February 11, 2019 11:19 AM
To: pgsql-general@lists.postgresql.orgSubject: bdr replication breaks down

=C2=A0

Hi all,

=C2=A0

I have a bdr replication setup tha= t worked fine until recently.

But it seems like o= ne command cannot be replicated, and it breaks down the whole process on al= l hosts where it is sent to.

I appended part of t= he log file, it gets repeated over and over.

Can = I somehow omit this command and try if the next one works?

=C2=A0

Best Regards,

Daniel Fink

=C2=A0

< 2019-02-08 00:00:01.658 CET >ERROR:=C2=A0 schema "pg_temp_= 30" does not exist

< 2019-02-08 00:00:01.= 658 CET >CONTEXT:=C2=A0 apply QUEUED_DROP in commit 7D/2E3143B0, xid 106= 791715 commited at 2019-01-28 10:12:34.348577+01 (action #2) from node (620= 8877715678412212,1,2942745)

< 2019-02-08 00:00= :01.661 CET >LOG:=C2=A0 worker process: bdr (6449651545875285115,1,16388= ,)->bdr (6208877715678412212,1, (PID 27640) exited with exit code 1

<= p class=3D"MsoNormal">< 2019-02-08 00:00:06.666 CET >LOG:=C2=A0 start= ing background worker process "bdr (6449651545875285115,1,16388,)->= bdr (6208877715678412212,1,"

< 2019-02-08= 00:00:07.641 CET >ERROR:=C2=A0 schema "pg_temp_30" does not e= xist

< 2019-02-08 00:00:07.641 CET >CONTEXT= :=C2=A0 apply QUEUED_DROP in commit 7D/2E3143B0, xid 106791715 commited at = 2019-01-28 10:12:34.348577+01 (action #2) from node (6208877715678412212,1,= 2942745)

< 2019-02-08 00:00:07.644 CET >LOG= :=C2=A0 worker process: bdr (6449651545875285115,1,16388,)->bdr (6208877= 715678412212,1, (PID 27645) exited with exit code 1

< 2019-02-08 00:00:12.649 CET >LOG:=C2=A0 starting background work= er process "bdr (6449651545875285115,1,16388,)->bdr (62088777156784= 12212,1,"

< 2019-02-08 00:00:13.633 CET &= gt;ERROR:=C2=A0 schema "pg_temp_30" does not exist

< 2019-02-08 00:00:13.633 CET >CONTEXT:=C2=A0 apply QUEUE= D_DROP in commit 7D/2E3143B0, xid 106791715 commited at 2019-01-28 10:12:34= .348577+01 (action #2) from node (6208877715678412212,1,2942745)

=C2=A0

DANIEL FINK
Senior Software = Engineer

tel=C2=A0(+49) 89.767062.20
fax(+49) 89.767062.11
email=C2=A0daniel.fink@pdf.com

PDF Solutions GmbH=C2=A0
(
a PDF Solutions Company)<= /span>
Managing Director: Kimon Michaels
Schwanthalerstr.
10
D-80336 M=C3=BCnchen, Germany =C2=A0
=

M=C3=BCnchen HRB 87307
DE 128214899

www.pdf.com

=C2=A0


This message may contain confidential and privileged information. If i= t has been sent to you in error, please reply to advise the sender of the e= rror and then immediately permanently delete it and all attachments to it f= rom 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 sende= r 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 sc= anned by us and/or by external service providers to detect and prevent thre= ats to our systems, investigate illegal or inappropriate behavior, and/or e= liminate 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. --000000000000cb3e4505819f2cb3--