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 1nw6pH-0004L0-OF for pgsql-bugs@arkaria.postgresql.org; Tue, 31 May 2022 18:42:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nw6pG-0005LH-JF for pgsql-bugs@arkaria.postgresql.org; Tue, 31 May 2022 18:42:42 +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 1nw6pF-0005Kh-FU for pgsql-bugs@lists.postgresql.org; Tue, 31 May 2022 18:42:42 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nw6pC-0001fK-L9 for pgsql-bugs@lists.postgresql.org; Tue, 31 May 2022 18:42:40 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0067C3200AAD; Tue, 31 May 2022 14:42:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 31 May 2022 14:42:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version: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=1654022555; x=1654108955; bh=m hOFHn9/ZaMgXKfL4yvsOeOuVJC8dAwSoRtiiwfmaEc=; b=sPqmDtQb+wGJLNrDu SZDxZ14KXfrtex8mDtLEdU1z55ks+Ytr+0K6sUAV0TzBNItFl2dTNibfleo/XO3x SJDp+bbx9tevWX7ecL6VYJQjyfPZyVi6hNcbRxvGlkxB1mZb6O8qAevfEtW4lIhH vTBzdFy2/TkD4SSwOcuLSFkm0+5ZV8spcy3OCjVWopmCy/T9Ia1GOIdl7uUXTUdW JYu9nXQC/VLMLloEldf6qK5a/S4SHq65O6ID2+9yBodNb6KThvrG8dh3h0Dr/FRc yeMe/vkDdFouu1l9cK2/Tw7pEjEBJPXkUG78/8VnfqhSsX2G0reDxHgEjmuvxPBz o7Luw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeekgdduvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepffejfefgieevgfdtveetleeuhfekudegvddtleefledt gfdvtefgtefhhfeivdetnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptghirhhruh hsqdgtihdrtghomhdpvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhh drnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 31 May 2022 14:42:34 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id BE1792A0608; Tue, 31 May 2022 20:42:32 +0200 (CEST) Date: Tue, 31 May 2022 20:42:32 +0200 From: Alvaro Herrera To: Andrey Borodin Cc: Andres Freund , Robert Haas , Peter Geoghegan , Michael Paquier , =?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: <202205311842.brrdft2btsp4@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <648AAA61-DA03-4BA5-B4F9-64FF7924096A@yandex-team.ru> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-May-31, Andrey Borodin wrote: > As seen in CI with reverting only d9d0762: > v3 fails only on MacOS [0,1] > v4 fails on Linux and FreeBSD [2,3] > [0] https://github.com/x4m/postgres_g/runs/6665396918 > [1] https://cirrus-ci.com/task/4580203115577344?logs=test_world#L1571 > [2] https://github.com/x4m/postgres_g/runs/6675153300 > [3] https://cirrus-ci.com/task/6540481319403520?logs=test_world#L842 Hmm ... Exactly what code is being tested here? I see in one of these backtraces that there is a reference to a function called heap_prune_from_root, but I can't find that in the Postgres sources. At this point, I'm clear that d9d076222f5b needs to be reverted because of the interactions with HOT prune, but it's not at all clear to me what is the relationship of the other two commits to bugs. I am going to revert that one now, so that we can continue to diagnose any lingering problem that may be related to the other two commits -- but perhaps it is something else. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/