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 [email protected]
Whole thread Raw
In response to Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful  (Greg Stark <[email protected]>)
Responses Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
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  <[email protected]>        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