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 1kzv69-0005Gl-LA for pgsql-committers@arkaria.postgresql.org; Thu, 14 Jan 2021 05:23:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzv68-0003VF-IY for pgsql-committers@arkaria.postgresql.org; Thu, 14 Jan 2021 05:23:04 +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 1kzv68-0003V7-D2 for pgsql-committers@lists.postgresql.org; Thu, 14 Jan 2021 05:23:04 +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 1kzv66-0001X3-Bv for pgsql-committers@lists.postgresql.org; Thu, 14 Jan 2021 05:23:03 +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 10E5N1vl1370182; Thu, 14 Jan 2021 00:23:01 -0500 From: Tom Lane To: Fujii Masao cc: Michael Paquier , Fujii Masao , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Ensure that a standby is able to follow a primary on a newer tim In-reply-to: References: Comments: In-reply-to Fujii Masao message dated "Thu, 14 Jan 2021 14:14:11 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1370180.1610601781.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 14 Jan 2021 00:23:01 -0500 Message-ID: <1370181.1610601781@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Fujii Masao writes: > On 2021/01/14 13:59, Michael Paquier wrote: >> florican is telling that this test has some stability problems: >> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dflorican&dt=3D= 2021-01-14%2003%3A55%3A45 > My guess is that the requested WAL file was removed unfortunately by > checkpoint because no replication slot is used and wal_keep_size is not = set. > So easy fix is to set wal_keep_size to 512MB or other in that test. Thou= ght? florican did pass this test on the v13 branch, so I agree it's probably a timing issue not any deeper bug. Your theory seems plausible. regards, tom lane