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 1ogTjp-00046T-U4 for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Oct 2022 16:28:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogTjo-0002VK-Og for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Oct 2022 16:28:44 +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 1ogTjo-0002VB-Fa for pgsql-hackers@lists.postgresql.org; Thu, 06 Oct 2022 16:28:44 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogTjl-0001UX-JP for pgsql-hackers@lists.postgresql.org; Thu, 06 Oct 2022 16:28:44 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 991AA5C01E9; Thu, 6 Oct 2022 12:28:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 06 Oct 2022 12:28:38 -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=fm2; t=1665073718; x=1665160118; bh=u J9LPccfRd+Y0EEyehUmPPU24YBTkoKG17tQTwZXKXw=; b=h+Oi5Tlk7qKUnfRZP nufPTjdb2FNnn+pSrTdqhe+IYe5Zv53meYx64CIiVNjXWMJ0brI4bkYFTOV9mZQP DqZlEkPuBvYVQmjv0o6Golw1DIPr/IahHOcOOtmdlZH0A+l3C6kaPTxBzeP9NLd5 ZjdjxJY404Bb7qgLB8uTjlhblSNRYS/3YmlYjwhaKo+roa0voq5gGZvOD/t8TV+n 6aoyfJL3YzPkRKXLm+Sre10V2220cBp54EORaZEZxoW8dY4+tfM675ZoU/vw+kEk uuw9GP+0c++PZiAWvUMhsZkOEVeWIwCMl+PoMmaWMN5ZOqNz4bw/oSvBV503oIMj gZI0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeihedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeej keffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghl vhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 6 Oct 2022 12:28:38 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1327862; Thu, 6 Oct 2022 18:28:36 +0200 (CEST) Date: Thu, 6 Oct 2022 18:28:36 +0200 From: Alvaro Herrera To: Jaime Casanova Cc: Tom Lane , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Avoid improbable PANIC during heap_update. Message-ID: <20221006162836.hsbtfjyi23hbtnrn@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Sep-29, Jaime Casanova wrote: > This doesn't look as improbable because I saw it at least 3 times with > v15beta4. To further the case of the not-so-low-probability, we have customers that are hitting this about once per day, with Postgres 14 ... so their systems are crashing all the time :-( We've collected a bunch of backtraces, and while I didn't analyze all of them, I hear that they all look related to this fix. Not good. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ Maybe there's lots of data loss but the records of data loss are also lost. (Lincoln Yeoh)