pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive(

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive(
Date: 2022-08-05 15:33:07
Message-ID: E1oJzJz-000RcN-6m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_13_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-08-05 16:04:43 pgsql: BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking
Previous Message Alvaro Herrera 2022-08-05 09:56:27 pgsql: regress: fix test instability