pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Greg Stark <stark@mit.edu>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-core <pgsql-core@postgresql.org>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Date: Mon, 25 May 2015 11:52:33 -0400
Message-ID: <20150525155233.GD3908@momjian.us> (raw)
In-Reply-To: <CAM-w4HP+0e-CDGhrXDej0OyMFeZFmhG0=PgE8RKi_gyTAi9rPA@mail.gmail.com>
References: <20150525142657.4686.35151@wrigleys.postgresql.org>
	<20150525151243.GM26667@tamriel.snowman.net>
	<CABUevEx_4cRFYk_21_DvP+03pricHAtjpQ4wpiYTUsxLmvUC-Q@mail.gmail.com>
	<CAM-w4HP+0e-CDGhrXDej0OyMFeZFmhG0=PgE8RKi_gyTAi9rPA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. +


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (11+ messages)  latest in thread

Message-ID: <20150525155233.GD3908@momjian.us>
Permalink:  ../20150525155233.GD3908@momjian.us/
Also on:    postgresql.org/message-id/20150525155233.GD3908@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, stark@mit.edu, magnus@hagander.net, sfrost@snowman.net, robertmhaas@gmail.com, 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
  In-Reply-To: <20150525155233.GD3908@momjian.us>
  References: <20150525142657.4686.35151@wrigleys.postgresql.org> <20150525151243.GM26667@tamriel.snowman.net> <CABUevEx_4cRFYk_21_DvP+03pricHAtjpQ4wpiYTUsxLmvUC-Q@mail.gmail.com> <CAM-w4HP+0e-CDGhrXDej0OyMFeZFmhG0=PgE8RKi_gyTAi9rPA@mail.gmail.com> <20150525155233.GD3908@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox