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 1mqJrD-00040u-QA for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Nov 2021 18:52:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mqJrC-0002hP-Kd for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Nov 2021 18:52:30 +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 1mqJrC-0002gJ-BM for pgsql-hackers@lists.postgresql.org; Thu, 25 Nov 2021 18:52:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqJrA-0003ka-28 for pgsql-hackers@lists.postgresql.org; Thu, 25 Nov 2021 18:52:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1APIqAxR311160; Thu, 25 Nov 2021 13:52:10 -0500 From: Tom Lane To: Alvaro Herrera cc: Amul Sul , Andres Freund , Andrew Dunstan , "Bossart, Nathan" , Kyotaro Horiguchi , "masao.fujii@oss.nttdata.com" , "pgsql-hackers@lists.postgresql.org" , "mengjuan.cmj@alibaba-inc.com" , "Jakub.Wartak@tomtom.com" , Ryo Matsumura Subject: Re: prevent immature WAL streaming In-reply-to: <202111251832.22chedo6btui@alvherre.pgsql> References: <202111251832.22chedo6btui@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Thu, 25 Nov 2021 15:32:31 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <311158.1637866330.1@sss.pgh.pa.us> Date: Thu, 25 Nov 2021 13:52:10 -0500 Message-ID: <311159.1637866330@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Oh, but also I think I should push a mitigation in case a production > system hits this problem: maybe reduce the message from FATAL to WARNING > if the registered LSN is at a page boundary. Uh, why? The fix should remove the problem, and if it doesn't, we're still looking at inconsistent WAL aren't we? regards, tom lane