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 1kG8s5-0004sj-GZ for pgsql-committers@arkaria.postgresql.org; Wed, 09 Sep 2020 22:47:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kG8s3-00034N-Hq for pgsql-committers@arkaria.postgresql.org; Wed, 09 Sep 2020 22:47:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG8s3-00034G-Cc for pgsql-committers@lists.postgresql.org; Wed, 09 Sep 2020 22:47:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG8s1-00009T-7H; Wed, 09 Sep 2020 22:47:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 089MlGHc118304; Wed, 9 Sep 2020 18:47:16 -0400 From: Tom Lane To: Amit Kapila cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Implement streaming mode in ReorderBuffer. In-reply-to: References: Comments: In-reply-to Amit Kapila message dated "Sat, 08 Aug 2020 02:29:17 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <118302.1599691636.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 09 Sep 2020 18:47:16 -0400 Message-ID: <118303.1599691636@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Amit Kapila writes: > Implement streaming mode in ReorderBuffer. Looks like this test is somewhat unstable still: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dskink&dt=3D2020-= 09-09%2003%3A42%3A19 diff -U3 /home/andres/build/buildfarm/HEAD/pgsql.build/../pgsql/contrib/te= st_decoding/expected/stream.out /home/andres/build/buildfarm/HEAD/pgsql.bu= ild/contrib/test_decoding/results/stream.out --- /home/andres/build/buildfarm/HEAD/pgsql.build/../pgsql/contrib/test_de= coding/expected/stream.out 2020-08-08 09:18:34.493194657 +0000 +++ /home/andres/build/buildfarm/HEAD/pgsql.build/contrib/test_decoding/re= sults/stream.out 2020-09-09 04:19:12.985912853 +0000 @@ -71,6 +71,8 @@ data = ------------------------------------------ opening a streamed block for transaction + closing a streamed block for transaction + opening a streamed block for transaction streaming change for transaction streaming change for transaction streaming change for transaction @@ -83,7 +85,7 @@ streaming change for transaction closing a streamed block for transaction committing streamed transaction -(13 rows) +(15 rows) = It's likely relevant that skink uses valgrind, which'd slow it down a lot. That suggests some timing dependency is still there. (Note that skink has passed this test multiple times.) regards, tom lane