Re: could not link file in wal restore lines - Mailing list pgsql-bugs

From Zsolt Ero
Subject Re: could not link file in wal restore lines
Date
Msg-id CAKw-smDWZj5u=kYW0Rkbn7-iEn9NAxODwRYgN1SwmauAuDF-gA@mail.gmail.com
Whole thread Raw
In response to Re: could not link file in wal restore lines  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: could not link file in wal restore lines
List pgsql-bugs
Can you tell me how critical is the state of this patch? I mean is there any chance of data corruption in the non-patched version?

Zsolt



On 27. Jul 2022 at 04:52:31, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:
I'm gonig to modify the patch for PG12 then come up again.

So, this is the version of cc2c7d65fc that is minimally modified (but
not checked seriously) for PG12.  (cc2c7d65fc was almost cleanly
applied.)

I applied this and observed that WAL recycleing is prevented until
archive recovery ends and I finally didn't see the "could not link"
error happen.

Zsolt, could you confirm this patch works for you?

regards

--
Kyotaro Horiguchi
NTT Open Source Software Center

pgsql-bugs by date:

Previous
From: "Svante Richter"
Date:
Subject: Re: COPY TO CSV produces data that is incompatible/unsafe for \COPY FROM CSV
Next
From: David Steele
Date:
Subject: Re: could not link file in wal restore lines