Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Date
Msg-id 20150525155233.GD3908@momjian.us
Whole thread Raw
In response to Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful  (Greg Stark <stark@mit.edu>)
Responses Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, May 25, 2015 at 04:37:59PM +0100, Greg Stark wrote:
> What exactly is failing?
> 
> Is it that fsync is returning -1 ? Should we just ignore errors from
> fsync if it happens in this stage? That might be safer than
> determining which files should or shouldn't be fsynced.

Interesting idea.  We could skip fsync -1 failures only for symbolic
links.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Next
From: Andres Freund
Date:
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful