Jan 2023

2 commits
Revert "Add eager and lazy freezing strategies to VACUUM."
26 Jan 2023Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1reverts 1 commit here
LLM analysis, 100% surewritten from the discussion, no matching patch3 of 3 reviewers saw the final version

The diff exactly reverses 4d41799261; no attached patch proposes that reversal. Andres demonstrated regressions in #90, requested reversion in #93, and Peter announced the completed revert in #108.

  • Andres Freundsaw the final versionLLM analysis, 100% sureBefore the revert, he tested the landed eager-freezing implementation, reported substantial WAL and vacuum-time regressions in #90, and explicitly requested reversion in #93.
  • Robert Haassaw the final versionLLM analysis, 96% sureBefore the revert, he endorsed the objections to the committed size-based policy and its demonstrated regressions in #102, prompting Peter's withdrawal decision in #106.
  • John Naylorsaw the final versionLLM analysis, 88% sureHe challenged table size as the freezing-policy input in #40 and reiterated that unresolved objection to the landed implementation before reversion in #105.
Add eager and lazy freezing strategies to VACUUM.
25 Jan 2023Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #882 of 3 reviewers saw the final version

Lands only the eager/lazy freezing patch from the three-part series in #88. Applying that attachment to the commit parent shows documentation/comment edits and replacement of MAX_VACUUM_THRESHOLD with MAX_KILOBYTES, while the core strategy-selection and page-freezing conditions match.

  • Jeff Davissaw an earlier versiontrailerHe reviewed the policy and challenged table-size thresholds and scanning/freezing coupling in #5, #21, and #38, before later policy and non-permanent-table changes.
  • Andres Freundsaw the final versiontrailerHe raised workload and WAL concerns about #31 in #32 and subsequently tested the actual committed version in #90, so final coverage includes post-commit review.
  • Matthias van de Meentsaw the final versiontrailerHe identified threshold-range and configuration issues in #73 and explicitly approved the final eager-freezing attachment in #89, after which only light landing edits followed.

Dec 2022 - Jan 2023

4 commits
Refine the definition of page-level freezing.
3 Jan 2023Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #701 of 1 reviewer saw the final version

The heapam.h and lazy_scan_prune comment changes match #70; comparison against the applied attachment shows only an additional six-line deletion of obsolete visibility_cutoff_xid commentary in vacuumlazy.c.

  • Jeff Davissaw the final versiontrailerHe proposed clearer wording in #68 and approved the resulting attachment in #71, with only another comment deletion added for commit.
Add page-level freezing to VACUUM.
28 Dec 2022Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #601 of 2 reviewers saw the final version

Lands the page-level freezing component of #60, leaving the three strategy patches for #64. Beyond comment cleanup, FreezeMultiXactId moves its old-updater error check after transaction-status filtering, allowing aborted updater members to be discarded, and adjusts a FRM_NOOP assertion.

  • Jeff Davissaw an earlier versiontrailerHe tested and reviewed the page-freezing code in #54 and discussed revised control flow and comments in #65, but the landing also changed MultiXact logic beyond the reviewed attachment.
  • Andres Freundsaw the final versiontrailerHis earlier review in #32 shaped the implementation, and his post-commit examination in #113 directly reviewed the landed freezing condition and proposed refinements.
Remove overzealous MultiXact freeze assertion.
27 Dec 2022Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Deletes the single incorrect MultiXactIdPrecedes assertion in heap_prepare_freeze_tuple. Hayato's failure diagnosis in #61 and Peter's explicit instruction to remove that assertion in #62 supply the change without an attached fix patch.

  • Hayato Kuroda (Fujitsu)saw the final versionLLM analysis, 99% sureBefore the fix, he reported the VACUUM FREEZE crash, supplied the assertion stack trace, and traced the failure to the cutoff-refactoring commit in #61.
Refactor how VACUUM passes around its XID cutoffs.
22 Dec 2022Peter Geogheganmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #511 of 1 reviewer saw the final version

Lands only the first patch of #51, introducing VacuumCutoffs across heapam.c, vacuumlazy.c, vacuum.c, and cluster.c. Applying that attachment to the commit parent leaves only comment edits and removal of two redundant failsafe assertions.

  • Jeff Davissaw the final versiontrailerHe explicitly approved the cutoff refactor in #52 and reported additional concurrent VACUUM and verify_heapam testing in #54.

Credits across 6 commits

Author
Peter Geoghegan5
Reviewer
Jeff Davis4
Andres Freund2
Matthias van de Meent1
Reported by
Hayato Kuroda (Fujitsu)1
Committer
Peter Geoghegan6