On Thu, Sep 3, 2020 at 12:09 PM Thomas Munro <thomas.mu...@gmail.com> wrote: > On Tue, May 12, 2020 at 12:43 PM Paul Guo <p...@pivotal.io> wrote: > > RecreateTwoPhaseFile(gxact->xid, buf, len);
> I hadn't previously focused on this second part of your email. I > think the fsync() call in RecreateTwoPhaseFile() might be a candidate > for processing by the checkpoint code through the new facilities in > sync.c, which effectively does something like what you describe. Take I looked at this more closely and realised that I misunderstood; I was thinking of a problem like the one that was already solved years ago with commit 728bd991c3c4389fb39c45dcb0fe57e4a1dccd71. Sorry for the noise.