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 1nenSo-0002Dl-A5 for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2022 00:35:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nenSn-0000Sg-9b for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2022 00:35:57 +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 1nenSn-0000SW-0V for pgsql-hackers@lists.postgresql.org; Thu, 14 Apr 2022 00:35:57 +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 1nenSk-0005LB-Sp for pgsql-hackers@lists.postgresql.org; Thu, 14 Apr 2022 00:35:56 +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 23E0Zoan1374063; Wed, 13 Apr 2022 20:35:50 -0400 From: Tom Lane To: Peter Geoghegan cc: Andres Freund , David Rowley , PostgreSQL Hackers Subject: Re: Intermittent buildfarm failures on wrasse In-reply-to: References: <1346227.1649887693@sss.pgh.pa.us> <1349964.1649890446@sss.pgh.pa.us> <9F59C4BB-3C82-44B0-9B10-4A2CCC3DE552@anarazel.de> <1364997.1649893086@sss.pgh.pa.us> <1365924.1649893883@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Wed, 13 Apr 2022 17:17:00 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1374061.1649896550.1@sss.pgh.pa.us> Date: Wed, 13 Apr 2022 20:35:50 -0400 Message-ID: <1374062.1649896550@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Geoghegan writes: > On Wed, Apr 13, 2022 at 4:51 PM Tom Lane wrote: >> Yeah, we have band-aided around this type of problem repeatedly. >> Making a fix that's readily accessible from any test script >> seems like a good idea. > We might even be able to consistently rely on this new option, given > *any* problem involving test stability and VACUUM. Having a > one-size-fits-all solution to these kinds of stability problems would > be nice -- no more DISABLE_PAGE_SKIPPING bandaids. My guess is that you'd need both this new wait-for-horizon behavior *and* DISABLE_PAGE_SKIPPING. But the two together ought to make for pretty reproducible behavior. I noticed while scanning the commit log that some patches have tried adding a FREEZE option, which seems more like waving a dead chicken than anything that'd improve stability. We'd not necessarily have to embed wait-for-horizon into VACUUM itself. It seems like a SQL-accessible function could be written and then called before any problematic VACUUM. I like this better for something we're thinking of jamming in post-feature-freeze; we'd not be committing to the feature quite as much as if we added a VACUUM option. regards, tom lane