The last WAL segment of the old timeline is not archived for a while after archive recovery - Mailing list pgsql-hackers

From Fujii Masao
Subject The last WAL segment of the old timeline is not archived for a while after archive recovery
Date
Msg-id 3f0b79eb0904220220n24259cadqf6c31a97d9544e4e@mail.gmail.com
Whole thread Raw
Responses Re: The last WAL segment of the old timeline is not archived for a while after archive recovery  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Hi,

In archive recovery, the last applied WAL segment may not have
.ready file in spite of not having been archived yet. Then, this
segment is not archived until a future checkpoint creates .ready
file. It's a little dangerous that there is the WAL segment which
is not archived for a while.

Attached patch fixes this problem. Is this worth committing?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Why isn't stats_temp_directory automatically created?
Next
From: Bruce Momjian
Date:
Subject: Re: psql with "Function Type" in \df