pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive( - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive(
Date
Msg-id E1oJzJz-000RcS-7m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf86fddc1c928b02821c66cbe1ddec3ad7da987c

Modified Files
--------------
src/backend/access/transam/xlog.c |  5 ++++-
src/backend/storage/file/fd.c     | 10 ++++++++--
2 files changed, 12 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: regress: fix test instability
Next
From: Alvaro Herrera
Date:
Subject: pgsql: BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking