Re: Syncing pg_multixact directories

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-23T04:09:06Z
Lists: pgsql-hackers
On Tue, Sep 22, 2020 at 07:05:36PM -0700, Andres Freund wrote:
> On 2020-09-23 13:45:51 +1200, Thomas Munro wrote:
>> I think we should be ensuring that directory entries for newly created
>> multixact files are durable at checkpoint time.  Please see attached.
> 
> Good catch! Probably that should probably be backpatched...

+1.  Passing that down to the SLRU layer is a nice thing to do.  Were
you planning to send a second patch here?  The commit log generated
mentions patch 1/2.
--
Michael

Commits

  1. Fix missing fsync of SLRU directories.