Aug 2022

1 commit
Add HINT for restartpoint race with KeepFileRestoredFromArchive().
5 Aug 2022Noah MischREL_14_STABLE14.5REL_13_STABLE13.8REL_12_STABLE12.12REL_11_STABLE11.17REL_10_STABLE10.22
LLM analysis, 100% surelanded as postedfrom patchset #122 of 2 reviewers saw the final version

The complete diff matches #12, adding checkpointer-specific HINTs to the XLogFileInit() open failure and both durable_rename_excl() failure paths in xlog.c and fd.c.

  • Kyotaro Horiguchisaw the final versionLLM analysis, 100% sureHe explicitly agreed with the HINT patch in #13, and the commit message credits his review.
  • David Steelesaw the final versionLLM analysis, 100% sureHe said the HINT patch looked good in #14, and the commit message credits his review.

Jun 2021

5 commits
Remove XLogFileInit() ability to unlink a pre-existing file.
29 Jun 2021Noah Mischmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.18REL_13_STABLE13.21Also in: avoid multiple hard links to same WAL file after a crash (landed as posted)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #2

This takes the third component of #2, removing XLogFileInit()'s option to delete an existing file and replacing use_existent with an output-only added flag. Its stable patch ID matches the submitted component exactly; the remaining series is outside this commit.

Don't ERROR on PreallocXlogFiles() race condition.
29 Jun 2021Noah Mischmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.18REL_13_STABLE13.21Also in: avoid multiple hard links to same WAL file after a crash (landed as posted)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #2

This takes the fourth component of #2, extracting XLogFileInitInternal() so PreallocXlogFiles() need not reopen the installed segment. Its stable patch ID matches the submitted component exactly; it is a subset of the five-patch series.

Skip WAL recycling and preallocation during archive recovery.
29 Jun 2021Noah Mischmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.18REL_13_STABLE13.21Also in: avoid multiple hard links to same WAL file after a crash (landed as posted)
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #2

This takes the fifth component of the five-patch series in #2, adding InstallXLogFileSegmentActive and coordinating archive recovery with segment installation in src/backend/access/transam/xlog.c. The component is unchanged apart from diff-context alignment; the other components landed separately.

Remove XLogFileInit() ability to skip ControlFileLock.
29 Jun 2021Noah Mischmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.18REL_13_STABLE13.21Also in: avoid multiple hard links to same WAL file after a crash (landed as posted)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #2

This takes the first component of #2, removing use_lock and making ControlFileLock acquisition unconditional, with corresponding caller and declaration changes. Its stable patch ID matches the submitted component exactly; the other four components landed separately.

In XLogFileInit(), fix *use_existent postcondition to suit callers.
29 Jun 2021Noah Mischmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.18REL_13_STABLE13.21Also in: avoid multiple hard links to same WAL file after a crash (landed as posted)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #2

This takes the second component of #2, correcting the use_existent postcondition and checkpoint segment accounting in src/backend/access/transam/xlog.c. Its stable patch ID matches the submitted component exactly; it contains only that part of the series.

Credits across 6 commits

Author
Noah Misch1 LLM6
Reviewer
Michael Paquiercommitter5
Reported by
Arun Thirupathi5
Committer
Noah Misch6
Michael Paquier5

N LLM means N of the credits come from LLM analysis, not from commit trailers.