Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YyS9m-0001py-Fp for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 21:49:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YyS9m-0006ZX-0U for pgsql-committers@arkaria.postgresql.org; Fri, 29 May 2015 21:49:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YyS9k-0006ZP-Vx for pgsql-committers@postgresql.org; Fri, 29 May 2015 21:49:33 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YyS9i-0006fW-GO for pgsql-committers@postgresql.org; Fri, 29 May 2015 21:49:31 +0000 Received: from intern.anarazel.de (unknown [184.23.178.130]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 80DD2860002; Fri, 29 May 2015 23:49:29 +0200 (CEST) Date: Fri, 29 May 2015 23:49:27 +0200 From: Andres Freund To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Remove special cases for ETXTBSY from new fsync'ing logic. Message-ID: <20150529214927.GA6535@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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