From: Stephen Frost <sfrost@snowman.net>
To: Magnus Hagander <magnus@hagander.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-core@postgresql.org
Cc: andrew@tao11.riddles.org.uk
Cc: pgsql-hackers@postgresql.org
Subject: Re: [CORE] [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Date: Mon, 25 May 2015 11:34:38 -0400
Message-ID: <20150525153438.GN26667@tamriel.snowman.net> (raw)
In-Reply-To: <CABUevEx_4cRFYk_21_DvP+03pricHAtjpQ4wpiYTUsxLmvUC-Q@mail.gmail.com>
References: <20150525142657.4686.35151@wrigleys.postgresql.org>
<20150525151243.GM26667@tamriel.snowman.net>
<CABUevEx_4cRFYk_21_DvP+03pricHAtjpQ4wpiYTUsxLmvUC-Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
* Magnus Hagander (magnus@hagander.net) wrote:
> On May 25, 2015 5:12 PM, "Stephen Frost" <sfrost@snowman.net> wrote:
> > This was back-patched all the way and released with the latest round of
> > minor releases, and given that it means crash recovery fails for a large
> > number of deployed systems, I think we need to fix (or revert) the
> > recursive fsync change (d8ac77ab178ddb2ae043b8c463cd30c031e793d0 and
> > related) and do new releases very shortly.
>
> Agreed, this is a pretty bad regression and we need to at least do
> something and out out a release asap - either revert or if we can find a
> better way (see the other thread about this issue for some other ideas).
>
> It happens to be the default shipment on Debian and Ubuntu but it's
> definitely not a platform specific problem I believe, so we should put out
> a "real" release and not expect packagers to carry a specific patch for it.
Agreed, there are certainly other reasons why a file might exist which
can't be written to by the postgres user, we really can't have crash
recovery fail because of it.
Further, I believe that a lot of the .deb-based distributions use
the same technique of using symlinks (Ubuntu included, but even those
who aren't downstream of Debian), and they would all have to be updated
with such a patch. Sadly, suggesting to stay on a prior version (eg:
9.4.1) really isn't acceptable either, given the corruption risks
which 9.4.2 addressed.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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, 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: <20150525153438.GN26667@tamriel.snowman.net>
References: <20150525142657.4686.35151@wrigleys.postgresql.org> <20150525151243.GM26667@tamriel.snowman.net> <CABUevEx_4cRFYk_21_DvP+03pricHAtjpQ4wpiYTUsxLmvUC-Q@mail.gmail.com> <20150525153438.GN26667@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