Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axGKt-0004FR-8L for pgsql-hackers@arkaria.postgresql.org; Mon, 02 May 2016 16:04:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axGKs-0006gl-KJ for pgsql-hackers@arkaria.postgresql.org; Mon, 02 May 2016 16:04:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axGKq-0006fN-TD for pgsql-hackers@postgresql.org; Mon, 02 May 2016 16:04:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1axGKo-00019j-2p for pgsql-hackers@postgresql.org; Mon, 02 May 2016 16:04:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u42G4TD0001036; Mon, 2 May 2016 12:04:29 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , Abhijit Menon-Sen , Simon Riggs , Craig Ringer , Petr Jelinek , Magnus Hagander , "pgsql-hackers@postgresql.org" Subject: Re: 9.6 and fsync=off In-reply-to: <20160502155934.zohrkzzo6kyzd6hy@alap3.anarazel.de> References: <20160427104307.GA4861@toroid.org> <57209AE7.9020906@2ndquadrant.com> <24748.1461764666@sss.pgh.pa.us> <20160428204423.sq2l675d2hamgr6m@alap3.anarazel.de> <20160429063514.GA630@toroid.org> <12906.1461937747@sss.pgh.pa.us> <20160502155934.zohrkzzo6kyzd6hy@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 02 May 2016 08:59:34 -0700" Date: Mon, 02 May 2016 12:04:29 -0400 Message-ID: <1035.1462205069@sss.pgh.pa.us> X-Pg-Spam-Score: -2.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 Andres Freund writes: > On 2016-05-02 10:07:50 -0400, Robert Haas wrote: >> - If that flag is set on a subsequent startup, say: >> WARNING: Recovery was previously performed with fsync=off; this >> cluster may be irretrievably corrupted. > Well, the problem with that is that postgres crashes are actually > harmless with regard to fsync=on/off. It's just OS crashes that are a > problem. So it seems quite likely that the false-positive rate here > would be high enough, to make people ignore it. That's a pretty good point. Also, as sketched, I believe this would start bleating after a crash recovery performed because a backend died --- which is a case where we know for certain there was no OS crash. So this idea needs some more thought. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers