pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive(
Date: Fri, 05 Aug 2022 15:33:07 +0000
Message-ID: <E1oJzJz-000RcP-7E@gemulon.postgresql.org> (raw)

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/41f613fc257c4d1df97f5f244461d1acb2b65227

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



view thread (5+ messages)  latest in thread

Message-ID: <E1oJzJz-000RcP-7E@gemulon.postgresql.org>
Permalink:  ../E1oJzJz-000RcP-7E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oJzJz-000RcP-7E@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Add HINT for restartpoint race with KeepFileRestoredFromArchive(
  In-Reply-To: <E1oJzJz-000RcP-7E@gemulon.postgresql.org>
  References: <E1oJzJz-000RcP-7E@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox