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 1nA2zH-0001pk-O4 for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 04:54:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nA2zG-0007Bp-JC for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jan 2022 04:54:22 +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 1nA2zG-0007Bg-9u for pgsql-hackers@lists.postgresql.org; Wed, 19 Jan 2022 04:54:22 +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 1nA2zE-0001DG-1Y for pgsql-hackers@postgresql.org; Wed, 19 Jan 2022 04:54:21 +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 20J4sCOd450973; Tue, 18 Jan 2022 23:54:12 -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: <450971.1642568052.1@sss.pgh.pa.us> Date: Tue, 18 Jan 2022 23:54:12 -0500 Message-ID: <450972.1642568052@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: >> This actually causes parallel check-world to fail altogether on florican's >> host, because the initial fsync of the recovered primary takes more than 3 >> minutes when there's conflicting I/O traffic, causing pg_ctl to time out. > Ugh. I misspoke there: it's the standby that is performing an fsync'd checkpoint and timing out, during the test's promote-the-standby step. This test attempt revealed another problem too: the standby never shut down, and thus the calling "make" never quit, until I intervened manually. I'm not sure why. I see that Cluster::promote uses system_or_bail() to run "pg_ctl promote" ... could it be that BAIL_OUT causes the normal script END hooks to not get run? But it seems like we'd have noticed that long ago. regards, tom lane