Re: Checkpoint not retrying failed fsync? - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Checkpoint not retrying failed fsync?
Date
Msg-id CAEepm=2KLkOqJ1fZe8WyhzyT=cVkzWxecYcewk+b0h=NHMLOZA@mail.gmail.com
Whole thread Raw
In response to Re: Checkpoint not retrying failed fsync?  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Fri, Apr 6, 2018 at 12:56 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> After some testing, here is a better one for review.

One problem I thought of about 8 milliseconds after clicking send is
that bms_union() may fail to allocate memory and then you're hosed.
Here is a new version that uses bms_join() instead, because that can't
fail.

-- 
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Checkpoint not retrying failed fsync?
Next
From: Craig Ringer
Date:
Subject: Re: PostgreSQL's handling of fsync() errors is unsafe and risks data loss at least on XFS