Feb 2025

2 commits
Add a test for commit ac0e33136a using the injection point.
19 Feb 2025Amit Kapilamaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #4103 of 3 reviewers saw the final version

Commits the second patch of #410, with test-only injection handling separated into a branch that sets *inactive_since to zero, plus comments and include ordering. Nisha credits Hayato for the test in #350 and #353, and its patch header confirms his authorship.

  • Peter Smithsaw the final versiontrailerHe reviewed the injection-point test in #375, with further test review acknowledged in #406 and only light test changes afterward.
  • Vignesh Csaw the final versiontrailerHis delta #354 simplified the injection test and checkpoint handling, followed by further review in #370 and light test refinements.
  • Amit Kapilasaw the final versiontrailerHe challenged the slow test in #349, reviewed the injection alternative and committed the final test with small adjustments.
Invalidate inactive replication slots.
19 Feb 2025Amit Kapilamaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #4102 of 6 reviewers saw the final version

Commits the first patch of #410, leaving its test for a separate commit. The implementation matches apart from one rewritten explanatory comment in src/backend/replication/slot.c.

  • Peter Smithsaw the final versiontrailerHe repeatedly reviewed design, code and tests, most recently reviewing #406 in #407, after which only light cleanup followed.
  • Hayato Kurodasaw an earlier versiontrailerHe identified overflow and utility-configuration issues in #290 and followed up in #298, before substantial invalidation restructuring.
  • Vignesh Csaw an earlier versiontrailerHe reported upgrade and temporary-slot failures and reviewed through #393 in #394, before helper extraction and the acquisition-race fix.
  • Amit Kapilasaw the final versiontrailerHe directed the invalidation design, supplied the final cleanup #409, and reviewed and committed #410.
  • Hou Zhijiesaw an earlier versiontrailerHe supplied the horizon fix #397 and reported the off-list race acknowledged in #406, but review of the resulting final race correction is not established.
  • Bertrand Drouvotsaw an earlier versiontrailerHe tested and reviewed the timeout design through #220, before checkpoint-only operation and the later combined invalidation pass.

Mar - Apr 2024

4 commits
Allow synced slots to have their inactive_since.
5 Apr 2024Amit Kapilamaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1Also in: pgsql: Track last_inactive_time in pg_replication_slots. (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #2172 of 4 reviewers saw the final version

Matches #217 except for promotion comments in src/backend/replication/logical/slotsync.c and two TAP comment corrections requested in #218. This disagrees with thread #49359's attribution to #557906: this thread's April 4 patch includes the final StandbyMode guard and supersedes the other thread's March 26 attachment.

  • Bertrand Drouvotsaw an earlier versiontrailerHe tested timestamps and reviewed promotion and TAP behavior through #207, before the normal-startup guard added in #217.
  • Amit Kapilasaw the final versiontrailerHis review #216 identified the ordinary-startup reset problem, and he reviewed and committed the corrected #217.
  • Shveta Maliksaw the final versiontrailerShe tested the final #217 and requested only explanatory and TAP comment corrections in #218.
  • Masahiko Sawadasaw an earlier versiontrailerHe questioned promotion semantics and approved #211 in #215, before the additional StandbyMode guard.
Change last_inactive_time to inactive_since in pg_replication_slots.
27 Mar 2024Amit Kapilamaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1Also in: pgsql: Track last_inactive_time in pg_replication_slots. (not this thread)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1643 of 3 reviewers saw the final version

Commits the first patch of #164 unchanged except for the src/include/catalog/catversion.h bump, leaving the synchronization and timeout patches out. This disagrees with thread #49359's attribution to #557906: the matching separated patch #164, posted March 26 at 16:29 UTC, supersedes that thread's March 26 05:43 UTC attachment.

  • Bertrand Drouvotsaw the final versiontrailerHe tested the combined patch in #149, examined its revision in #154, and explicitly reviewed the separated rename as mechanically correct in #165.
  • Shveta Maliksaw the final versiontrailerShe tested the combined patch and requested grammatical corrections to the renamed-field comments in #148, with only light rename changes afterward.
  • Amit Kapilasaw the final versiontrailerHe reviewed the combined patch's synchronization helper in #157 and reviewed the final separated rename by committing #164.
Track last_inactive_time in pg_replication_slots.
25 Mar 2024Amit Kapilamaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #1352 of 3 reviewers saw the final version

Derives from #135, adding an explicit zero assignment for synchronized slots in RestoreSlotFromDisk(), rewriting two comments and bumping the catalog version. The initialization branch is a localized logic addition.

  • Bertrand Drouvotsaw an earlier versiontrailerHe tested timestamp behavior and approved #126 in #129, before the synchronized-slot behavior changed in #135.
  • Amit Kapilasaw the final versiontrailerHe reviewed timestamp semantics and tests, supplied #123, and made the final initialization and comment edits when committing.
  • Shveta Maliksaw the final versiontrailerShe reported the promotion problem in #127 and explicitly confirmed that the source patch #135 resolved it in #136.
Track invalidation_reason in pg_replication_slots.
22 Mar 2024Amit Kapilamaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1022 of 3 reviewers saw the final version

Commits the first patch of #102, which repeats the reporting patch from #99 unchanged, with an added catalog-version bump. The other five patches in that submission did not land in this commit.

  • Bertrand Drouvotsaw the final versiontrailerHe reviewed reporting semantics and explicitly approved #99 in #101, whose reporting patch is identical in #102.
  • Amit Kapilasaw the final versiontrailerHe reviewed the reporting and upgrade changes, approved #99 in #100, and committed its unchanged counterpart in #102.
  • Shveta Maliksaw an earlier versiontrailerShe reviewed the boolean/reason design in #54, before pg_upgrade checks were changed to recognize all invalidation reasons.

Credits across 6 commits

Author
Bharath Rupireddy5
Nisha Moond2
Hayato Kuroda (Fujitsu)1
Reviewer
Amit Kapila6
Bertrand Drouvot5
Shveta Malik4
Peter Smith2
vignesh C2
Hayato Kuroda (Fujitsu)1
Masahiko Sawada1
Zhijie Hou (Fujitsu)1
Reported by
Robert Haas1
Committer
Amit Kapila6