]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add HINT for restartpoint race with KeepFileRestoredFromArchive().
authorNoah Misch <noah@leadboat.com>
Fri, 5 Aug 2022 15:30:58 +0000 (08:30 -0700)
committerNoah Misch <noah@leadboat.com>
Fri, 5 Aug 2022 15:31:02 +0000 (08:31 -0700)
commitcf86fddc1c928b02821c66cbe1ddec3ad7da987c
tree5c1877b59b088ee1976ce33e9e7a81a9523e27a4
parent91130dd316f71ff8a5f044daf0b8303c290e57b2
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
src/backend/access/transam/xlog.c
src/backend/storage/file/fd.c