Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2bNS-000Qwe-2y for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 20:50:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2bNR-00545b-2h for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Mar 2026 20:50:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2bNR-00545Q-1m for pgsql-hackers@lists.postgresql.org; Tue, 17 Mar 2026 20:50:57 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2bNO-00000000FTP-18Y4 for pgsql-hackers@postgresql.org; Tue, 17 Mar 2026 20:50:56 +0000 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 659221400091; Tue, 17 Mar 2026 16:50:55 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Tue, 17 Mar 2026 16:50:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1773780655; x=1773867055; bh=+8h4d9D8vY n3/ZZBf54IiUgsjREb1blUnbBxfRS4Z90=; b=FtT9Ot+mYeI7k51oE6B1y0HpqE HU6mATl835gK51FEzGYJUMOInv/CpggJCnqrS30dxNTDMj1Nwz3Gr3hsyx6bGlEB JnxLBpLXlQ7TFL2R7461Qd/RkyUy090ptzBi0qX7ZOSv+WyGdYS/S3Z1GLhsWYCR ODOANnW3GL6/EAMXR5puGVP3mlrbUNbwqrpH3YwK3zAXf1Pjqi6xKOlwInGKsJaY nyP8bLurksICMTUDvOAVghk5nYYs3ycU9InrfhzYr0Y90bv3yC7/5HOY0zGoZJLx pkGqjbthw4qu/Bu/q6T2DzCEYzC92i2nq//DPdFQnWKFDwXCym1AkHtPX8cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1773780655; x=1773867055; bh=+8h4d9D8vYn3/ZZBf54IiUgsjREb1blUnbB xfRS4Z90=; b=4+08APTuEEZ4YN+cv8uwgbWGB4RCO6wFyhZkBxleH0T4sqf9ntw LGkL7t4bO78v6AlYVqqmMDHOoWihOGQBr7hl/aguyHe8KzTT2fIALMYQ4qVoMMYQ cV2fJ/vEN7GStGltnH0bmr6wqYeN5jijs6LGAC1NhNv2kW3eWA8tucVnAaoCWS0R QPKBVjzR9JhZ+AZnxpEaRWu8XzgiF3soq3t5rJ1Rj9SvlH/FCSh49r1/97rg2P44 9Rm5yLiBHCgRDpFPNVtu6qIvS/tNo9XZvssqMknhwln3iKth2dSf2U37kvjg/FBq 7ldxueTmNHhpSK2Efr/16tT8PbKELO+dO6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdeftddvvdehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepgedtveeifeehjeefveelgeehgeeigeffiefhgfekleethfehueekueefleeg uddunecuffhomhgrihhnpehpohhsthhgrhdrvghsnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdruggv pdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrsh hhuhdrtghovghkkeeksehgmhgrihhlrdgtohhmpdhrtghpthhtohephhhlihhnnhgrkhgr sehikhhirdhfihdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhgrh gvshhqlhdrohhrghdprhgtphhtthhopegrkhhuiihmvghnkhhovhesthhighgvrhgurght rgdrtghomh X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Mar 2026 16:50:54 -0400 (EDT) Date: Tue, 17 Mar 2026 16:50:54 -0400 From: Andres Freund To: Heikki Linnakangas Cc: "pgsql-hackers@postgresql.org" , Alexander Kuzmenkov , Ashutosh Sharma Subject: Re: Assertion failure in hash_kill_items() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-03-17 13:40:10 -0400, Andres Freund wrote: > On 2026-03-17 19:15:10 +0200, Heikki Linnakangas wrote: > > I bumped into an assertion failure, while playing with variants of the test > > case that Alexander Kuzmenkov wrote to exercise hash index page cleanup [1]. > > This is master-only, related to the recent changes in how buffers are marked > > dirty. > > Sorry, I had hoped to push a fix for that already, after it was reported in > https://postgr.es/m/vjtmvwvbxt7w5uyacxpzibpj65ewcb7uqaqbhd4arvnjbp5jqz%405ksdh6fsyqve > but real life intervened. > > I was planning to commit it together with an addition to > src/test/modules/index/specs/killtuples.spec > > Unfortunately that made the change a good bit more verbose, as a naive > addition would report a number of buffer accesses that seemed not necessarily > reliable to me. So I updated the 'result' step to just return true/false > depending on whether there were any accesses. > > I'll go and work on pushing that. Done, as of f5eb854ab6d. Greetings, Andres