Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpDeq-0002B7-1I for pgsql-general@arkaria.postgresql.org; Mon, 13 Aug 2018 14:17:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpDeo-00026u-3g for pgsql-general@arkaria.postgresql.org; Mon, 13 Aug 2018 14:17:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpDen-00026b-QW for pgsql-general@lists.postgresql.org; Mon, 13 Aug 2018 14:17:17 +0000 Received: from tonga.chezphil.org ([163.172.168.227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fpDel-0007MT-8I for pgsql-general@lists.postgresql.org; Mon, 13 Aug 2018 14:17:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chezphil.org; s=20171026; h=From:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Date:Cc:To:Sender:Reply-To: Content-Transfer-Encoding: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=EJq+HFXMhJdTg+dU/yx6fQAH1arZ3sdR3Q3ml6ut0WE=; b=fr0aJMQPdyRUPnc94pbk71dDJ RZ+colZDWS/I09fcpj48zVSQlHb4hzr5pKHS9G/Lc0L2nc47y2G+Rk0xAVWk63hC6P/WSEAKRiJyz GKJX5dsqxroKQDxkJ6mxF/caPGFvp8Xo27tmgtObSYHNB7Rv3M3hLZip3iuCElDszigJY=; Received: from localhost ([127.0.0.1] helo=chezphil.org) by tonga.chezphil.org with esmtp (Exim 4.89) (envelope-from ) id 1fpDek-0004Xn-7n for pgsql-general@lists.postgresql.org; Mon, 13 Aug 2018 15:17:14 +0100 Received: from localhost ([::ffff:127.0.0.1]) by tonga with smtp (dmsmtpd 0.00001); Mon, 13 Aug 2018 15:17:14 +0100 To: Cc: "Adrian Klaver" Date: Mon, 13 Aug 2018 15:17:14 +0100 Subject: Re: Replication failure, slave requesting old segments Message-ID: <1534169834014@dmwebmail.dmwebmail.chezphil.org> In-Reply-To: <07fbb899-570d-ccf2-a4ad-11d6cc295ed3@aklaver.com> References: <07fbb899-570d-ccf2-a4ad-11d6cc295ed3@aklaver.com> X-Mailer: Decimail Webmail 3alpha16 MIME-Version: 1.0 Content-Type: text/plain; format="flowed"; charset="UTF-8" From: "Phil Endecott" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adrian Klaver wrote: > "If you set up a WAL archive that's accessible from the standby, these > solutions are not required, since the standby can always use the archive > to catch up provided it retains enough segments. *This is dependent on > verification that the archiving is working properly. A belt and > suspenders approach would be to set wal_keep_segments to a value > 0 in > the event archiving is not properly functioning*" > " Adrian, I believe that the suggestion that my issue was the result of my archiving process not working is not correct. The quote above does not address the requirement for wal_keep_segments to be >= 1 even when archiving is functioning correctly. I will continue to monitor this thread in the hope that others will confirm my understanding, but otherwise I will bow out now (and file a bug). Thanks to all. Phil.