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 1nA2kw-0001AJ-DV for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 04:39:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nA2ku-0003Rx-Vz for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 04:39:32 +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 1nA2ku-0003Ro-Mr for pgsql-hackers@lists.postgresql.org; Wed, 19 Jan 2022 04:39:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nA2ks-0005U2-Cd for pgsql-hackers@postgresql.org; Wed, 19 Jan 2022 04:39:32 +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 20J4dKrl449910; Tue, 18 Jan 2022 23:39:20 -0500 From: Tom Lane To: Andres Freund cc: Justin Pryzby , Robert Haas , Andrew Dunstan , pgsql-hackers@postgresql.org, Thomas Munro , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: Adding CI to our tree In-reply-to: <20220119041646.rhuo3youiqxqjmo2@alap3.anarazel.de> References: <20220114235457.GQ14051@telsasoft.com> <87a81b91-87bf-c0bc-7e4f-06dffadcf737@dunslane.net> <20220117181946.bmvubqpzqxlvmgeh@alap3.anarazel.de> <20220117192510.txue5mihjaxlngep@alap3.anarazel.de> <85428.1642447853@sss.pgh.pa.us> <20220117201619.3ltudwhgk2krmoki@alap3.anarazel.de> <20220118210847.GC23027@telsasoft.com> <20220119011626.nw5cvugqfsy3fyob@alap3.anarazel.de> <440239.1642560607@sss.pgh.pa.us> <20220119041646.rhuo3youiqxqjmo2@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 18 Jan 2022 20:16:46 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <449908.1642567160.1@sss.pgh.pa.us> Date: Tue, 18 Jan 2022 23:39:20 -0500 Message-ID: <449909.1642567160@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-01-18 21:50:07 -0500, Tom Lane wrote: >> There is no reason for this script to be overriding Cluster.pm's >> fsync = off setting. >> This appears to go back to 917dc7d23 of 2016, so I think it just >> predates our recognition that we should disable fsync in routine >> tests. > Yea, I noticed this too. I was wondering if there's a conceivable reason to > actually want fsyncs, but I couldn't come up with one. On the one hand, it feels a little wrong if our test suites never reach our fsync calls at all. On the other hand, it's not clear what is meaningful about testing fsync when your test scenario doesn't include a plug pull. I'd be okay with having some exercise of the fsync code paths in a test that is (a) designated for the purpose and (b) arranged to not take an excessive amount of time, even under heavy load. 008_fsm_truncation.pl is neither of those things. It seems entirely random that it has fsync = on when we don't test that elsewhere. regards, tom lane