Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jONjk-0005sI-Uh for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Apr 2020 15:44:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jONjj-00042p-S3 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Apr 2020 15:44:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jONjj-00042i-D3 for pgsql-hackers@lists.postgresql.org; Tue, 14 Apr 2020 15:44:31 +0000 Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jONjh-0006wX-6N for pgsql-hackers@postgresql.org; Tue, 14 Apr 2020 15:44:31 +0000 Received: from webmailclassic.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:208]) by smtp-cloud8.xs4all.net with ESMTPA id ONjejiCQdlKa1ONjejFOkO; Tue, 14 Apr 2020 17:44:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1586879067; bh=bM8aJ6tOfWLapb5YjVmpwE0nV2yPVpYpHMKqvQ9rEU0=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From: Subject; b=SwQIV1IPMZHpp9PnPVdyQT09hromCxEawnFEZpME6uIOhFy6teDHhasPNDM/5rEvj 7qWFk56FviIdHa4M07DmC7aanOtku6QedGjiYKgHCMo+DibqgilokbjiI51pdIvU// tp428umN2Husb6uB+0doNM+0Eby8IS10kEvOENBEB1/0ezm6T/sROsV8bj/4QMll/g 21fmZ5GCU+BxW0cS2xCR/yNowJqHDPEYBq/HIm6D+Ri2PRZP1Lj9QJPrSEgNONmiTp x9pA05hqdz9Us2CgYZiXBU5WWiHz/zjbYq/W1mFjWf52dd4AtngoSedKRihPWdsg/r g7aLCDOJa4anw== Received: from fc0c:c185:a5f8:6dfd:a400:6e47:313b:867f by webmailclassic.xs4all.nl with HTTP (HTTP/1.1 POST); Tue, 14 Apr 2020 17:44:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 14 Apr 2020 17:44:26 +0200 From: Erik Rijkers To: Dilip Kumar Cc: Kuntal Ghosh , Tomas Vondra , Amit Kapila , Michael Paquier , Peter Eisentraut , PostgreSQL Hackers Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions In-Reply-To: References: <20200329005905.ooxq25qyjwn2mvxz@development> <20200329153105.mdryxzz562tg65pk@development> <20200330152758.fgp62lwb2ug7cl2a@development> <20200408005905.misvqmjk5c7wd5vr@development> Message-ID: X-Sender: er@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfK2htEAaPO4SA36CuZluYWc7ehQjTMDtw4VFzViF1BCjZ9fSBZKI0U3BbUsnpB5MEGfT1+K/hcw1tM5RDjLZ3Slq4+4X9fTNTfftQtlncVX/6UgucVhf 1KbfcPThCMj7lGqL863O4roVJ7URSf7eapb2FlxMHDvGYjasLqwZ/v676jL9J4wvZVBCri9RKpD4tbyxyfe14ZLWxZhBrKpjQsfQ9pgzblDVmlWCBT7gkA1L 9C/+HSfRQ4H6o8rHRzUpo8FoYsfl7El3+DkbmlAQXHTP+K82l/WeQoDPc2SO8ofYO5qcl/CbxGkjK2MXhCXYAGzrAbeMq5VGOMWMK3QdP7bECZTcVt4WEkjG Ik5xyE3/n7pMhi53Ae0EtL1I7HuskWCs+6VI5NqhKyNmfwf3k4eU5hPaScaV5kMPJRE49L63MQ+7j+d4OiTZn8ue0qhxDBiSMcS2l2nKKydi83Usd3I= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-04-14 12:10, Dilip Kumar wrote: > v14-0001-Immediately-WAL-log-assignments.patch + > v14-0002-Issue-individual-invalidations-with.patch + > v14-0003-Extend-the-output-plugin-API-with-stream-methods.patch+ > v14-0004-Gracefully-handle-concurrent-aborts-of-uncommitt.patch+ > v14-0005-Implement-streaming-mode-in-ReorderBuffer.patch + > v14-0006-Add-support-for-streaming-to-built-in-replicatio.patch+ > v14-0007-Track-statistics-for-streaming.patch + > v14-0008-Enable-streaming-for-all-subscription-TAP-tests.patch + > v14-0009-Add-TAP-test-for-streaming-vs.-DDL.patch + > v14-0010-Bugfix-handling-of-incomplete-toast-tuple.patch applied on top of 8128b0c (a few hours ago) Hi, I haven't followed this thread and maybe this instabilty is known/expected; just thought I'd let you know. When doing running a pgbench run over logical replication (cascading down two replicas), I get this segmentation fault. 2020-04-14 17:27:28.135 CEST [8118] DETAIL: Streaming transactions committing after 0/5FA2A38, reading WAL from 0/5FA2A00. 2020-04-14 17:27:28.135 CEST [8118] LOG: logical decoding found consistent point at 0/5FA2A00 2020-04-14 17:27:28.135 CEST [8118] DETAIL: There are no running transactions. 2020-04-14 17:27:28.138 CEST [8006] LOG: server process (PID 8118) was terminated by signal 11: Segmentation fault 2020-04-14 17:27:28.138 CEST [8006] DETAIL: Failed process was running: COMMIT 2020-04-14 17:27:28.138 CEST [8006] LOG: terminating any other active server processes 2020-04-14 17:27:28.138 CEST [8163] WARNING: terminating connection because of crash of another server process 2020-04-14 17:27:28.138 CEST [8163] DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-04-14 17:27:28.138 CEST [8163] HINT: In a moment you should be able to reconnect to the database and repeat your command. This error happens somewhat buried away in my test-stuff; I can dig it out and make it into a repeatable test if you need it. (debian stretch/gcc 9.3.0) Erik Rijkers