pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Raphael Hertzog <hertzog@debian.org>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Fails to work on live images due to fsync() on pg_commit_ts before doing any write there
Date: Tue, 07 Nov 2017 10:06:55 -0500
Message-ID: <11397.1510067215@sss.pgh.pa.us> (raw)
In-Reply-To: <20171107150002.GY4628@tamriel.snowman.net>
References: <20171107135454.lbelbbvfgadljmuj@home.ouaza.com>
	<20171107141338.getbacqd2vich7yi@alvherre.pgsql>
	<20171107141827.GW4628@tamriel.snowman.net>
	<20171107144727.m6w4psl5kwm2p7jl@home.ouaza.com>
	<20171107144858.GX4628@tamriel.snowman.net>
	<11052.1510066721@sss.pgh.pa.us>
	<20171107150002.GY4628@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> My thought about this is just to ignore EINVAL when fsync'ing a directory,
>> as we already do with EBADF.

> Yeah, I suppose we could, just not sure that an EINVAL should really be
> getting returned here, imv.

Yeah, it does sound more like a filesystem bug than anything else.
(I completely reject the notion that it's an application error to
fsync a directory when you haven't modified it.)

In view of the fact that we just wrapped 10.1, it'd be 3 months before
any change from our side would reach the wild.  I think a key question
here is whether the Kali developers are likely to fix it from their side
in less time than that.

			regards, tom lane


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



view thread (21+ messages)  latest in thread

Message-ID: <11397.1510067215@sss.pgh.pa.us>
Permalink:  ../11397.1510067215@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11397.1510067215@sss.pgh.pa.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: tgl@sss.pgh.pa.us, sfrost@snowman.net, hertzog@debian.org, alvherre@alvh.no-ip.org
  Subject: Re: Fails to work on live images due to fsync() on pg_commit_ts before doing any write there
  In-Reply-To: <11397.1510067215@sss.pgh.pa.us>
  References: <20171107135454.lbelbbvfgadljmuj@home.ouaza.com> <20171107141338.getbacqd2vich7yi@alvherre.pgsql> <20171107141827.GW4628@tamriel.snowman.net> <20171107144727.m6w4psl5kwm2p7jl@home.ouaza.com> <20171107144858.GX4628@tamriel.snowman.net> <11052.1510066721@sss.pgh.pa.us> <20171107150002.GY4628@tamriel.snowman.net> <11397.1510067215@sss.pgh.pa.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