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 1kJzYy-0006F0-Rh for pgsql-committers@arkaria.postgresql.org; Sun, 20 Sep 2020 13:39:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kJzYx-0002l0-De for pgsql-committers@arkaria.postgresql.org; Sun, 20 Sep 2020 13:39:31 +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 1kJzYv-0002kt-RD for pgsql-committers@lists.postgresql.org; Sun, 20 Sep 2020 13:39:31 +0000 Received: from [64.147.123.24] (helo=wout1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJzYo-0004qn-DU for pgsql-committers@lists.postgresql.org; Sun, 20 Sep 2020 13:39:28 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 96A95513; Sun, 20 Sep 2020 09:39:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 20 Sep 2020 09:39:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=9J73EHzqRk0M4p0nkHYFFdoxjO0 tYsKcUMK7o7yyw4g=; b=iVkvW9AgCBgRJqW4WQOEAjhPwK/kVmF4FcRzhrXrupL 58Vtj5XMrE1cvpZDIvfrfrzrz7oTgw2r5+oucR5yab11Ag1hRQLJOkr++DJjS1RW QGnAZS7sAk6rHXQOBglgPr7RvGG94yM3G3hJGRFWvU/XtW3GUufdV11d9xKciO4l Cwlm97dO7f1Jy6/4/97qdvjEMUk/RranrqSTzi5mnJeOP8b+U6Hjf6F4d2uxBPCx kpgChfJdgc72XlY957m0k5r7BeEtiwXJBXf25vVOZ5I5e+VrIpGqPkaEAQ0q8ziW fidTdqYFkL67Sv1YT+MzrD91HU6dtyfIPyBu7dxAdDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9J73EH zqRk0M4p0nkHYFFdoxjO0tYsKcUMK7o7yyw4g=; b=fgqQj2ZQyrbkJrJ36GBhCD zo984j8uewaV93dBDcHj+sFSRDMgp9dittF4qtZbhF/7Db7qavSYF6qL0fqAMUDZ b4B8pI8yMVPR4dXj1As+NDcSldhbiurE0FvTlCfcQqMKrWtrGNMBD9pcEKH4vf41 SPJ2v1n7YFR3UFlCVx0fFZAYn9Cj87UuOxdm2UECYIm3i/eQQUs62Ms6yN1cwqLe OxLwv3qP5BGw85NZ/t1N937/oK6dSm9cPsvNbEcU2KQUPZVdBwaeRI0SEl4OitdM YRFNf1em/FjCAgv8rS3hGlpDiiDl53cbidrgitfhg/MKEcrvv3qH7yEKDBN9Q81A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepffdufeeflefghfekudekkeevvddu gfeiteekkeduleefvefhhffftdduffeiuedtnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdrohhrghenucfkphepiedurddvudehrddufeekrddvtddunecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuih gvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (c138201.net61215.cablenet.ne.jp [61.215.138.201]) by mail.messagingengine.com (Postfix) with ESMTPA id 92E43328005A; Sun, 20 Sep 2020 09:39:08 -0400 (EDT) Date: Sun, 20 Sep 2020 22:39:05 +0900 From: Michael Paquier To: Robert Haas Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: pg_surgery: Try to stabilize regression tests. Message-ID: <20200920133905.GA18931@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.24 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 18, 2020 at 05:27:06PM +0000, Robert Haas wrote: > pg_surgery: Try to stabilize regression tests. >=20 > According to buildfarm member sungazer, the behavior of VACUUM can be > unstable in these tests even if we prevent autovacuum from running on > the tables in question, apparently because even a manual vacuum can > behave differently depending on whether anything else is running that > holds back the global xmin. So use a temporary table instead, which > as of commit a7212be8b9e0885ee769e8c55f99ef742cda487b enables > vacuuming using a more aggressive cutoff. >=20 > This approach can't be used for the regression test that involves a > materialized view, but that test doesn't run vacuum, so it shouldn't > be prone to this particular failure mode. >=20 > Analysis by Tom Lane. Patch by Ashutosh Sharma and me. rorqual has just reported an issue here: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Drorqual&dt=3D2020= -09-20%2011%3A20%3A11 vacuum freeze htab2; +ERROR: cannot freeze committed xmax 23257 +CONTEXT: while scanning block 0 and offset 2 of relation "pg_temp_3.htab2" -- unused TIDs should be skipped select heap_force_kill('htab2'::regclass, ARRAY['(0, 2)']::tid[]); -NOTICE: skipping tid (0, 2) for relation "htab2" because it is marked unu= sed=20 -- Michael --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl9nW3kACgkQnvQgOdby QH1ZoA/+KIriGU10G5p7k6k//HqczYqJqAQrap2TtUpb/BIh8dPq9kaDWlQMOTQZ iwZJ6Dkk7bGr2mty4Kk+spLTaQ0twu48K2QNKnw1KJdZ2OM7A6hXGIUhFDgmttRE ODOAlWLBUq5vW7LvCxQuRHWjfLvOPuH9+odB0+9zraxoUT0DT/VSOIFJwo7Cl7qd XV2YRLdVTceAgb2JUHpUEUIhvzG7lUmC2U41vZ+tY8aF1Xpg0q5LoBNcic53tOLI eSMwbeJYwcHtZbYT3cFCrANX9lJ/DRHWiIPxP5US9wf31Zto3eXMJf3lGedCp+QZ TvOQPgGacFpod4R+t4sQyuB+LZC03b6Io9gJFbVZ59PYvNH8zGS5wSG5lDXlGGkh mdrXFMmXKCArvGUJQP3dBSxZYvsEAht5AgUVLI7MwbhYuWSiRhDGTNbK30DyHUb3 0h8hR36BhtpN6l+J6B2YhlThTl5l8w0iwsCpJIIfCXoN27MBdOO1dXWD/HbQJR3x m/JpDWTMZZR/063CNuXwN/k5ZfMku+Gy2pmrFX2Syktv7gDNeEUDryqYNvZUHOFv kFaNpExNBjjHqDStt/dONiJBMnFBBpxk6Zz0p+JfuKtyk4GYjX8rloVpDBCYMOK/ u/4BjCszZChHuRROrwEGcY98S2uo1zdlocqMTOzbxuqdtD1i9ZY= =i1J+ -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--