Re: Offline enabling/disabling of data checksums

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Michael Banck <michael(dot)banck(at)credativ(dot)de>, Magnus Hagander <magnus(at)hagander(dot)net>, Sergei Kornilov <sk(at)zsrv(dot)org>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Offline enabling/disabling of data checksums
Date: 2019-03-22 14:18:26
Message-ID: alpine.DEB.2.21.1903221514390.2198@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Done the switch for this case. For pg_rewind actually I think that this
> is an area where its logic could be improved a bit. So first the data
> folder is synced, and then the control file is updated.

Attached is a quick patch about "pg_rewind", so that the control file is
updated after everything else is committed to disk.

--
Fabien.

Attachment Content-Type Size
rewind-fsync-1.patch text/x-diff 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2019-03-22 14:30:27 Re: Ordered Partitioned Table Scans
Previous Message Fabien COELHO 2019-03-22 13:59:31 Re: Offline enabling/disabling of data checksums