pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove special cases for ETXTBSY from new fsync'ing logic.
Date: Fri, 29 May 2015 23:49:27 +0200
Message-ID: <20150529214927.GA6535@alap3.anarazel.de> (raw)
In-Reply-To: <E1YyPhG-0004Ub-33@gemulon.postgresql.org>
References: <E1YyPhG-0004Ub-33@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2015-05-29 19:11:58 +0000, Tom Lane wrote:
> Andres had brought it up back when we were
> still considering that most fsync failures should be hard errors, and it
> probably would be legit not to fail hard for ETXTBSY --- but the same is
> true for EROFS and other cases, which is why we gave up on hard failures.
> ETXTBSY is surely not a normal case, so logging the failure seems fine
> from here.

Note that EROFS etc should never happen without following symlinks,
whereas ETXTBSY conceivably could.


I'm fine though, with the special case being removed, I think you made a
good point that it's unlikely that e.g. an archive_command will run
during startup.


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



view thread (7+ messages)

Message-ID: <20150529214927.GA6535@alap3.anarazel.de>
Permalink:  ../20150529214927.GA6535@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20150529214927.GA6535@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove special cases for ETXTBSY from new fsync'ing logic.
  In-Reply-To: <20150529214927.GA6535@alap3.anarazel.de>
  References: <E1YyPhG-0004Ub-33@gemulon.postgresql.org> <20150529214927.GA6535@alap3.anarazel.de>

* 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