Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YwuOq-0002ET-Qu for pgsql-hackers@arkaria.postgresql.org; Mon, 25 May 2015 15:34:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YwuOq-000082-A4 for pgsql-hackers@arkaria.postgresql.org; Mon, 25 May 2015 15:34:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YwuOn-00007O-Eb; Mon, 25 May 2015 15:34:41 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YwuOk-0007mN-Ki; Mon, 25 May 2015 15:34:40 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 580935F79D; Mon, 25 May 2015 11:34:38 -0400 (EDT) Date: Mon, 25 May 2015 11:34:38 -0400 From: Stephen Frost To: Magnus Hagander Cc: Robert Haas , pgsql-core@postgresql.org, andrew@tao11.riddles.org.uk, pgsql-hackers@postgresql.org Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful Message-ID: <20150525153438.GN26667@tamriel.snowman.net> References: <20150525142657.4686.35151@wrigleys.postgresql.org> <20150525151243.GM26667@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="173oMW6+eDUtB8Ng" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 11:28:05 up 66 days, 21:16, 15 users, load average: 0.02, 0.10, 0.10 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --173oMW6+eDUtB8Ng Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Magnus Hagander (magnus@hagander.net) wrote: > On May 25, 2015 5:12 PM, "Stephen Frost" wrote: > > This was back-patched all the way and released with the latest round of > > minor releases, and given that it means crash recovery fails for a large > > number of deployed systems, I think we need to fix (or revert) the > > recursive fsync change (d8ac77ab178ddb2ae043b8c463cd30c031e793d0 and > > related) and do new releases very shortly. >=20 > Agreed, this is a pretty bad regression and we need to at least do > something and out out a release asap - either revert or if we can find a > better way (see the other thread about this issue for some other ideas). >=20 > It happens to be the default shipment on Debian and Ubuntu but it's > definitely not a platform specific problem I believe, so we should put out > a "real" release and not expect packagers to carry a specific patch for i= t. Agreed, there are certainly other reasons why a file might exist which can't be written to by the postgres user, we really can't have crash recovery fail because of it. Further, I believe that a lot of the .deb-based distributions use the same technique of using symlinks (Ubuntu included, but even those who aren't downstream of Debian), and they would all have to be updated with such a patch. Sadly, suggesting to stay on a prior version (eg: 9.4.1) really isn't acceptable either, given the corruption risks which 9.4.2 addressed. Thanks! Stephen --173oMW6+eDUtB8Ng Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVY0EOAAoJEO1sijiDR2RV5HQP/3eiwUc6nV+sSo2eBm87pFfE 0afnqhj9xUjVhRAoO9Z1bXDXgxWDdLdpwt4CiWj9L15d+35r2mZdNngIvPZuZaxb g/RhnVFs9NHmlwp11k4DXOC0CSo2sjoqtUcG9ev2zQQrIttdQwvCa9TJOFO24hww tCggzWLhJNFOJT94DQmNcQMBSIGpUjaKew6QG4oMdaH0DEuBvZvpDVkkOo64yL3P 3eobqpnCCx+XpnxKor3VxdxiJaRANuMxJDFV6z9tPvpDbAwRv7R4ohY7kWV9NN/8 BuMDXB6ysycug/Xg+rmgKJctTzm+uRoPvRpMhOk52cp/Q1g850lfVE5DNU7B6Mm/ 2B4TqEqwoJuvf8k3/QZERyrH9il+MkRdomi11VhqmA+w5l4F9qZ0FJMaGKcE2mMK Z0mN6Vt+NI9NwncH0yHuhRfYyd81qhj9w+9LB69bxA22WovLkuNvamDLlznwc4Id XY66m65cI/ktIONtd+CEmTqPOBQDiHkT0Pp4+CUen4Lpp5rxaAL7WS/fk2++Q5ty vhoUaiuXwf1cTgXKGLEXh4wKDKZLK5OKpyfUVa2SszjRdWwPFTZtFZXoA7dnwSK3 SgWtf7GIoaN2hLADOycfeA14jzvmkxofevyMml/sNNuv4Bqr0YLdq9oPjkF3jCcL dORKZE0zfJI7QdR0pYpa =jjM/ -----END PGP SIGNATURE----- --173oMW6+eDUtB8Ng--