Add HINT for restartpoint race with KeepFileRestoredFromArchive().

Noah Misch <noah@leadboat.com>

Commit: 2ffcb7dce80610f4b48a7ffd518a253a6584d883
Author: Noah Misch <noah@leadboat.com>
Date: 2022-08-05T15:31:02Z
Releases: 10.22
Add HINT for restartpoint race with KeepFileRestoredFromArchive().

The five commits ending at cc2c7d65fc27e877c9f407587b0b92d46cd6dd16
closed this race condition for v15+.  For v14 through v10, add a HINT to
discourage studying the cosmetic problem.

Reviewed by Kyotaro Horiguchi and David Steele.

Discussion: https://postgr.es/m/20220731061747.GA3692882@rfd.leadboat.com

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +4 −1
src/backend/storage/file/fd.c modified +8 −2

Discussion