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 1nvZIH-0007YC-28 for pgsql-bugs@arkaria.postgresql.org; Mon, 30 May 2022 06:54:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nvZIF-0007Gv-UY for pgsql-bugs@arkaria.postgresql.org; Mon, 30 May 2022 06:54:23 +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 1nvZIE-0007Gf-BA for pgsql-bugs@lists.postgresql.org; Mon, 30 May 2022 06:54:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvZIA-00025A-4w for pgsql-bugs@lists.postgresql.org; Mon, 30 May 2022 06:54:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CB78A5C01BA; Mon, 30 May 2022 02:54:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 30 May 2022 02:54:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1653893654; x=1653980054; bh=VF3UTIhcOI 9986gVP3JxpC9nXvSvGzNJXYEgUYIxIVI=; b=tNNLjkE+KpoRO/F7uQ0iEsjMUz tHqRhuAXvXNcoxKvrCrR7EobHUNCOqr1WsOScvwM6Cw8lYPtiYHrjXIio1ebbIuP XonRq6wQUrfil2lj8IY/lbhiTAHnkD/tXWkBXgL/ZQ9MAkzzwLVKhgP1umJUyd85 ejwqREIfbtGlPyqD6pwG774esLWYe8KyF/1i6BJkhuc059zbfm7BGATvTlUOeUU7 x8yQuSSPav2szEgswSxrlaNKe/xNA5Al6+wuSp5EXHqg4c6JsyI+cDo6CsAIlPmV xZGevWzhZ4PxRZzOHV+YdNSgBV8xcosCKoJGvuQ9hVjoxbPfr444zCZdQkEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1653893654; x=1653980054; bh=VF3UTIhcOI9986gVP3JxpC9nXvSv GzNJXYEgUYIxIVI=; b=EFc/N22BiIAldJ3P2QLI+mn/jsRzuFkTzHPfN8tW0fQh Fz6jMwzbRGNaQh2ocBrnsyCsQscZNQkTQYr71fmKxWvHmGZpvxnvhFRJSm4bKlDS X24/zBiz5qLRGeL6lm0cyX2Qt7lBo0LAX3FxOmuiVKCXiyEbDIRNf6nDjD12WAVy m9ha9YDtHHOMK3xVUJ1JTfNw4rajev9tqOUXBhbe8odY97hy10geQDMj1LHBS7k6 kPjnv7uymHFipMYR5JhYkNe4Od4VHqrsMjkoB0unRmZBZaM/5h7v2r661vFGSr90 VC0TNXSCHp8m5WYgh4/UnalXZE83zX39njiMVgHDng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeehgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 May 2022 02:54:11 -0400 (EDT) Date: Mon, 30 May 2022 15:54:08 +0900 From: Michael Paquier To: Andres Freund Cc: Andrey Borodin , Alvaro Herrera , Robert Haas , Peter Geoghegan , =?utf-8?B?0J/QtdGC0YrRgCDQodC70LDQstC+0LI=?= , PostgreSQL mailing lists Subject: Re: BUG #17485: Records missing from Primary Key index when doing REINDEX INDEX CONCURRENTLY Message-ID: References: <202205251643.2py5jjpaw7wy@alvherre.pgsql> <20220527231332.jwvrx6b3ytzt5snv@alap3.anarazel.de> <20220528070219.kbj527dx2sxmuomi@alap3.anarazel.de> <4B1BA5BF-37EC-4EE7-AB3B-4C4D95A8059A@yandex-team.ru> <20220528193413.cvhno3ky4tikuiqo@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="52ale9g7oPVyzXtM" Content-Disposition: inline In-Reply-To: <20220528193413.cvhno3ky4tikuiqo@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --52ale9g7oPVyzXtM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 28, 2022 at 12:34:13PM -0700, Andres Freund wrote: > I've not been able to reproduce this issue. Even after increasing the num= ber > of clients and transactions, and running the test a number of times. With > d9d0762 reverted, the problem doesn't happen anymore for me. Neither was I able to reproduce this issue after a couple of hours making my laptop hotter, using either the TAP tests or some equivalent manual tests, and the revert of d9d0762 helps. > Any chance you hit this with d9d0762 reverted? It's easy to e.g. revert a= nd > run the tests without recreating the temp-install, to reduce cycle times. >=20 > Was there anything else running on the system? c98763bf51bf also needs to > reverted, of course. Yeah, I agree that we'd better revert c98763bf for the time being. And f9900df on top of that? I was trying to think of ways to get an isolation test out of that, but that proves to be sort of tricky as we need to manipulate the HOT chains after the validation phase has begun with the snapshot from the build phase. It is easy to block before the validation transaction starts, like in WaitForLockersMultiple() beforehand, though. -- Michael --52ale9g7oPVyzXtM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmKUahAACgkQnvQgOdby QH2wuQ/+NUg42+2Ize+UNTqrp1WsyTu5GAMpQbE/VYhgN6aoWO244PRAzPb4njmO c3gglW+0b5FAZgx8pM2IL9SdBOzKKdtPCWwLDFZdVYj4DBf1EGlCLQEHmtbcJMG8 1cAlcSIIGOjIHid8l42fno+Ca2e9D0+vyQIruJoShGmytsiZ7r0PaI8OjoBsufVT HUls8xv0Tr1fee4+kE+hYlqfq519htPdwNzCCk7mAX1Dom697NN3Wvp6FjZXzzyw yvmhT1LyUh5uG7C7f6RA2tkqNyPnUp4XdYqzVEs+hTfuKS9xgLuddyOlshfixr6a dcljI+FiXjs2OWQjYSjMg368vpGkFpA1kWbkX7H3I3UPidud8Tmi87116jEjEssa pHt/ar/sGO5cbaoop4iWYgHdbDFxtR2hIVjsQf6X6B0fx5u3RnW3bu13FK5N6w94 Sy5doJXH5W+nNb921CxUInxn/QDdc/hxB13rbUhmL0Zryumqtpw1CKKar++wlHUW ZZ6XJP//F9n5UGMMqqxBZJOt4VkJZd53Q0AgcghyaKUlByaWPwj5jyjqCXTFJGur WRMTiym+5+2VGstdQxDOiPkRTspN9av9hSbhJRH0KXbnp/yi3t5ycaCy+sqPafnA S9pzU1dPBMLPR7nti1Zd+sZo6xGOP7+r4VKz+/RsfB8gO5rw2i4= =EMn8 -----END PGP SIGNATURE----- --52ale9g7oPVyzXtM--