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 1fp0a2-0004WC-R0 for pgsql-general@arkaria.postgresql.org; Mon, 13 Aug 2018 00:19:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fp0a1-0007Xw-0y for pgsql-general@arkaria.postgresql.org; Mon, 13 Aug 2018 00:19:29 +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 1fp0a0-0007Xp-PI for pgsql-general@lists.postgresql.org; Mon, 13 Aug 2018 00:19:28 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fp0Zs-0001Sq-Hb for pgsql-general@lists.postgresql.org; Mon, 13 Aug 2018 00:19:28 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 76F9321B4E; Sun, 12 Aug 2018 20:19:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 12 Aug 2018 20:19:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=mqb6cKUUHkVARns3O4UyuYV6EpQJb Y2DWgCgE4FKpNI=; b=WQkK6BjwFR1miDd7iZ7wp8LHJ8A+uIbGMn/HzCYA4PToU CwZTNaPr44hgeLaRHN3ZjnXg+gbVn3nRkVLPUQ7bGlHYCIAF8VW+o/T8CkSyV3sR ln34qmceoL74dyXdEfUhggjuJsQYoFkKowkAQXOtNXw6O0TXUBDamfENuPICqseS X51zk/h81SGnEZLcpFDM7yHhYaxn4tDLAp/h5oSIynF0fbp1vFkx3f8UKedR+2nb PwtYQig8wOHyb+5JZCg1bjERxiV6dDucmHyLaps7sxdPUBKyzQJ3F0Z/lzKwgxsV q0m8hCPG3tLoBfZ3eMENb41eIqs+LnePVFjudl+uA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mqb6cK UUHkVARns3O4UyuYV6EpQJbY2DWgCgE4FKpNI=; b=DrFH/0RsyJUEUXBJNwWmFV fR5PG+5PPc8Z1jGirhr4FbYSqkylvj+W2xdbEveVHJyizAHgIsVuiOSHyIO44oS2 3i6l1pOsSH+ks+F1+Z8M0LZ99wlvuTpDDEWMfXi4bzgnJWpqjdat5pC+lIXt9bJz BSXibX9sR6cAsgZ7lhPPVfNitXwhadlrxyx9yQDO6UyB48sRoVC/ROuNOhmLdncn KYKtzb6bnlME7/fjV/Gv6qDo2ToDU0L2lhSlkAy6SxXj6BkprJv7MOaZKKRUvGDa JjrV2ftLBHoEW1V/RICNL0SitHZSlnn07o61vOCSbkAC3zETRLFeASXZw8IEg7VA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 82852E421C; Sun, 12 Aug 2018 20:19:17 -0400 (EDT) Subject: Re: Replication failure, slave requesting old segments To: Stephen Frost , Phil Endecott Cc: pgsql-general@lists.postgresql.org References: <20180812212953.GU3326@tamriel.snowman.net> <1534110785010@dmwebmail.dmwebmail.chezphil.org> <20180812225406.GX3326@tamriel.snowman.net> From: Adrian Klaver Message-ID: <2b671d4c-1504-9a38-3ad0-5dafe8fab92c@aklaver.com> Date: Sun, 12 Aug 2018 17:19:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180812225406.GX3326@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/12/2018 03:54 PM, Stephen Frost wrote: > Greetings, > > * Phil Endecott (spam_from_pgsql_lists@chezphil.org) wrote: >> OK. I think this is perhaps a documentation bug, maybe a missing >> warning when the master reads its configuration, and maybe (as you say) >> a bad default value. > > If we consider it to be an issue worthy of a change then we should > probably just change the default value, and maybe not even allow it to > be set lower than '1'. > I would say leave the default at 0 as it leaves no doubt that you are performing without a net. A setting of '1' implies you are covered and for a fast moving cluster or slow moving one with sufficient downtime that would not be the case. Better to let the end user know this is not a simple problem and some thought needs to go into configuration. -- Adrian Klaver adrian.klaver@aklaver.com