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 1k2h3B-0004fI-9Y for pgsql-general@arkaria.postgresql.org; Mon, 03 Aug 2020 20:27:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k2h38-0005FV-WE for pgsql-general@arkaria.postgresql.org; Mon, 03 Aug 2020 20:27:11 +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 1k2h38-0005FO-MZ for pgsql-general@lists.postgresql.org; Mon, 03 Aug 2020 20:27:10 +0000 Received: from black.elm.relay.mailchannels.net ([23.83.212.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2h33-0005f6-3o for pgsql-general@postgresql.org; Mon, 03 Aug 2020 20:27:09 +0000 X-Sender-Id: a2hosting|x-authuser|bench@silentmedia.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 44D64641956; Mon, 3 Aug 2020 20:27:03 +0000 (UTC) Received: from a2ss24.a2hosting.com (100-96-21-23.trex.outbound.svc.cluster.local [100.96.21.23]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 486A864148C; Mon, 3 Aug 2020 20:27:02 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|bench@silentmedia.com Received: from a2ss24.a2hosting.com (a2ss24.a2hosting.com [75.98.175.117]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Mon, 03 Aug 2020 20:27:03 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|bench@silentmedia.com X-MailChannels-Auth-Id: a2hosting X-Abaft-Whistle: 526a0799304709e3_1596486423040_1211915639 X-MC-Loop-Signature: 1596486423039:4267118735 X-MC-Ingress-Time: 1596486423039 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=silentmedia.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+W7tV72kJg9pkTJ2d9HFuwMZAzxe3sRS/NtQEofDMqE=; b=MocgjA/icc1H1T5zep7I84a8Su n4mRDRHMtwjIpbW0/bcyROuosAVR0gVT5db0YtG62M32zQD8W9CTd3D/MZx5OX7uF8lWqFqTvxalF JjY00fMlwyqoHAvPfoIhpwkYSjZ6GaTEpENMfO8M2eMPHLHr95KPzcXhLz54e9MNxTBXEEKW93UFQ eYEPmdw2fiLkvyo+lQRsGR9fdvacugfc76qp4zkVK64YoR4gOdeoAhHYnUQoq3RpOPAlW4LcJoDfu W1f8YlQyptOlTL7J2zuQyjG8oRelijd9ITHsjOLG1yVOhCniwQu0ZT8vKU6LNPdIwC7yL3UuMWKqu 9lYhi3Lg==; Received: from 174-21-131-86.tukw.qwest.net ([174.21.131.86]:52868 helo=Rolo.local) by a2ss24.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1k2h2z-004TyQ-A5; Mon, 03 Aug 2020 16:27:01 -0400 Subject: Re: 12.3 replicas falling over during WAL redo To: Peter Geoghegan Cc: Kyotaro Horiguchi , Alvaro Herrera , pgsql-general General References: <20200801163551.GA12860@alvherre.pgsql> <20200803.133942.2170581823465092883.horikyota.ntt@gmail.com> From: Ben Chobot Message-ID: Date: Mon, 3 Aug 2020 13:26:59 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:52.0) Gecko/20100101 PostboxApp/7.0.25 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-AuthUser: bench@silentmedia.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Geoghegan wrote on 8/3/20 11:25 AM: > On Sun, Aug 2, 2020 at 9:39 PM Kyotaro Horiguchi > wrote: >> All of the cited log lines seem suggesting relation with deleted btree >> page items. As a possibility I can guess, that can happen if the pages >> were flushed out during a vacuum after the last checkpoint and >> full-page-writes didn't restored the page to the state before the >> index-item deletion happened(that is, if full_page_writes were set to >> off.). (If it found to be the cause, I'm not sure why that didn't >> happen on 9.5.) > There is also a Heap/HOT_UPDATE log line with similar errors. Yes, and I have the pg_waldump output for it. But, that table is quite large, and the transaction that contains the LSN in the error log is 1,752 waldump lines long. I'm happy to share what would be useful to help debug it but I'm guessing it should be a subset of that.