Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jEkKl-0002jH-Bs for pgsql-general@arkaria.postgresql.org; Thu, 19 Mar 2020 01:50:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jEkKi-0003nX-LX for pgsql-general@arkaria.postgresql.org; Thu, 19 Mar 2020 01:50:52 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1jEkKi-0003nP-B6 for pgsql-general@lists.postgresql.org; Thu, 19 Mar 2020 01:50:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jEkKf-0001t7-RS for pgsql-general@postgresql.org; Thu, 19 Mar 2020 01:50:51 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 677E55C0078; Wed, 18 Mar 2020 21:50:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 18 Mar 2020 21:50:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=HOXauBqVPWtK/XiHaVNeJcWm/mS XNkfWSsEN6bZTFlw=; b=JknIZFpCjAnO9GC1BVcOhBH58ZHPNpQn6BbDHosf+1e mMRVvHE1ygdkMsZBtKjw2+DInBYjfqBTDkWLfxNgAxtNBW2IcZPextGoGK7sE6X0 hYhv676yGhKGljymRJxpO/9ab1W9lEH29E/ff8xXdPKofkw9vM0PCTs91kirACQR Wt954g2gdf76KavzUOrBK+AGA0bbH9TKFRXKov6TSIM2fr4npJ7h8/ATB/SKHfIZ x4TQJLsTMFAY1QhK9gcE9EjpUc348P8NIbQ7Gev8Enl0uOr5Ul0gBXt0FFir1hH3 jArKFpAgteHyTJWtWXyT/kHdcdVEiGgwYrUmLjsfzWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=HOXauB qVPWtK/XiHaVNeJcWm/mSXNkfWSsEN6bZTFlw=; b=nuHT22YC7Vdx4Tf/xEx9l+ a98txo8ogp7pnmOykug2U5voib8qFUbm9nAqQuNZGpVaGE2nIHqgvzD28owngZUb O7sCk3jGOOpsF+y/LRCJYSOeO/2mWCUpxJ0mWwsq6BSeD5UXJYdwTlqEJ6cLFCPJ UbCnR/SkGPZxsKs+xBaRc8pddiSTjbkUwCeSZjm7rWUxRcYuEeVF4dkB7/oPgbTD 2sjFF8EmwlJW/eYsr6x4X+Sq6MPtz38MvwpD8/uYaHsQ1HFAzIc4ScuyMmAL/X4v qp0OF8Ue3eB6tRvwR/+r8MP93NefTfXZ/ujqZYvvWiM9VYZ0hgUT5JhFM4Jqt63Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefkedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt udenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucfkphepuddukedrvdeguddrvdegkedrudduieenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlse hprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (mp76f1f874.ap.nuro.jp [118.241.248.116]) by mail.messagingengine.com (Postfix) with ESMTPA id EF71F306218B; Wed, 18 Mar 2020 21:50:46 -0400 (EDT) Date: Thu, 19 Mar 2020 10:50:44 +0900 From: Michael Paquier To: Norberto =?iso-8859-1?Q?Dell=EA?= Cc: pgsql-general@postgresql.org Subject: Re: PostgreSQL 10 not archiving some WAL files Message-ID: <20200319015044.GO214947@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h9WqFG8zn/Mwlkpe" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --h9WqFG8zn/Mwlkpe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 18, 2020 at 10:57:22AM -0300, Norberto Dell=EA wrote: > This setup worked very well for a long time, but since we upgraded > PostgreSQL to newer versions (10.x), sometimes it just skips archiving so= me > wal files. This seems to happen mainly when the server is shut down. > There's no messages about errors in the logs, and also no corresponding > .done file in archive_status, it just goes to the next wal file. >=20 > I would like to know if any of you had or has a problem like this, and if > you had, how you solved it. Hmm. I don't recall seeing any of that. This would mean that we are either missing the generation of some .ready file, or that some .done file gets generated when they should not in archive_status/. What kind of server shutdown are you doing? Immediate so as recovery happens at the follow-up startup. Or is that a clean service shutdown? -- Michael --h9WqFG8zn/Mwlkpe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl5yz/QACgkQnvQgOdby QH015g/9Gr454KG1ImXM0NFv1K39VX4RsGPwRjGp9YHd4/RVqtLkCL4bKZqTg/oH LrWzjVPJ4XlBzKIUzKCNccIZMCgEXnup2Ov602x8C/2UFcYBeVee1LixkxuPdLNv 2kRl+ckL7gDEVF4i7g/Ek71PTClrFF7XdqgnvEXIUElwnHnX3LPrwC9NSeC0M2w4 gGdHwnmaTE7X+IT9sJObAyF4gJKwPL+E/4jNxfr87Totkb4lHpEO52BLGdcNsQPf GuFj2adiPBvxEIymPv1cPh9k7zRMWbxI4yUDVBv1YIwy2uOGxasKQbz6qW0KKs40 Qwrl4GlQjwwHhUVSxMLWDs3XwIeb2vGfyLI14yX6+8kzDED9pWtQsHRU1wB5M3/i GldVVxyAl33YFwU+nwytJKXqlpxy/2WNnWwjXPePpzyDCWlcf5Ri3prd0E/RvDYa ZGkzXJvt7ZJ5gfuEmG0gnkrSsJrStnHSbfj20HGq7cSU1aHp2IlMeHudSxi1es4o 3zeqXHr+V3T03FnkNxsdKK56Tf/QpzRzqLyXqtV3s3BNuZSS7HoLRxOaNlajGgsh WJSEU/eDDat0Wi+NgtrX8MYhc1dU6NRybfuVG7f0LVp4rBMC2rzJ0nW+ZaeSdbJu M6jlZ4wPigpxy4QrFw3FL1THN6LhnxjNeU/bzpHi0LfJXhrPShk= =P8lo -----END PGP SIGNATURE----- --h9WqFG8zn/Mwlkpe--