pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Andres Freund <andres@anarazel.de>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Greg Stark <stark@mit.edu>
Cc: Magnus Hagander <magnus@hagander.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 12:06:26 -0400
Message-ID: <20150525160626.GO26667@tamriel.snowman.net> (raw)
In-Reply-To: <1B40A9EB-4DD1-4C38-B8FB-3FB0CDF5E3C0@anarazel.de>
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>
	<1B40A9EB-4DD1-4C38-B8FB-3FB0CDF5E3C0@anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

* Andres Freund (andres@anarazel.de) wrote:
> On May 25, 2015 8:52:33 AM PDT, Bruce Momjian <bruce@momjian.us> wrote:
> >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.
> 
> Now there's already a thread on jackets about this.

Agreed- we should probably keep the discussion about fixing it (or
addressing the original issue in some way that doesn't run into this
issue) on the other thread.  This is simply to point out the user impact
and that we need to fix it quickly.

	Thanks!

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (11+ messages)  latest in thread

Message-ID: <20150525160626.GO26667@tamriel.snowman.net>
Permalink:  ../20150525160626.GO26667@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150525160626.GO26667@tamriel.snowman.net

 · 

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: sfrost@snowman.net, andres@anarazel.de, bruce@momjian.us, stark@mit.edu, magnus@hagander.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: <20150525160626.GO26667@tamriel.snowman.net>
  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> <1B40A9EB-4DD1-4C38-B8FB-3FB0CDF5E3C0@anarazel.de> <20150525160626.GO26667@tamriel.snowman.net>

* 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