From: Tim Cross <theophilusx@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Postgres and fsync
Date: Tue, 24 Apr 2018 08:05:04 +1000
Message-ID: <87sh7lpoj3.fsf@gmail.com> (raw)
In-Reply-To: <20180423000530.u3wbek72qv6jhben@alap3.anarazel.de>
References: <87tvs2q3ge.fsf@gmail.com>
<20180423000530.u3wbek72qv6jhben@alap3.anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> Hi,
>
> On 2018-04-23 08:30:25 +1000, Tim Cross wrote:
>> the recent article in LWN regarding issues with fsync and error
>> reporting in the Linux kernel and the potential for lost data has
>> prompted me to ask 2 questions.
>
> Note that you need to have *storage* failures for this to
> happen. I.e. your disk needs to die, and there's no raid or such to fix
> the issue.
>
>
>> 1. Is this issue low level enough that it affects all potentially
>> supported sync methods on Linux? For example, if you were concerned
>> about this issue and you had a filesystem which supports open_sync or
>> open_datasync etc, is switching to one of these options something which
>> should be considered or is this issue low level enough that all sync
>> methods are impacted?
>
> No, the issue is largely about datafiles whereas the setting you refer
> to is about the WAL.
>
> Greetings,
>
> Andres Freund
OK, thanks.
--
Tim Cross
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-general@postgresql.org
Cc: theophilusx@gmail.com, andres@anarazel.de
Subject: Re: Postgres and fsync
In-Reply-To: <87sh7lpoj3.fsf@gmail.com>
References: <87tvs2q3ge.fsf@gmail.com> <20180423000530.u3wbek72qv6jhben@alap3.anarazel.de> <87sh7lpoj3.fsf@gmail.com>
* 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