Re: Potential data loss of 2PC files

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Potential data loss of 2PC files
Date: 2016-12-22 17:44:22
Message-ID: CA+Tgmoa1isBSoDLPR7mfDhKBnFfLDpkd6MPFmyL84tQo67fGEA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 22, 2016 at 12:39 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> It makes more sense of you mentally separate between filename(s) and file contents. Having to do filesystem metatata transactions for an fsync intended to sync contents would be annoying...

I thought that's why there's fdatasync.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-12-22 17:50:55 Re: [COMMITTERS] pgsql: Implement table partitioning.
Previous Message Andres Freund 2016-12-22 17:39:12 Re: Potential data loss of 2PC files