Sep 2025

7 commits
Fix intermittent BF failures in 035_conflicts.
16 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #4302 of 2 reviewers saw the final version

The 035_conflicts.pl changes match #430, except for the explanatory comment rewritten following #431; #432 confirms that adjustment and the push.

  • shveta maliksaw the final versiontrailerApproved the fix and supplied the adopted timing explanation in #431.
  • Amit Kapilasaw the final versiontrailerDiagnosed cleanup-lock contention in #428 and confirmed committing the reviewed fix in #432.
Resume conflict-relevant data retention automatically.
15 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #4262 of 4 reviewers saw the final version

All changed lines match #426, including worker restart on resumption, launcher locking, documentation, and TAP coverage.

  • shveta maliksaw the final versiontrailerFound stale-worker access in #421 and proposed the final equivalent phase-handling refactor in #425.
  • Amit Kapilasaw the final versiontrailerReviewed retry costs and restart synchronization, supplied final edits in #424, and committed the result.
  • Dilip Kumarsaw an earlier versiontrailerReviewed recovery semantics in #165 and advocated restarting workers in #417, before the implementation was substantially rewritten.
  • Masahiko Sawadasaw an earlier versiontrailerDiscussed automatic recovery and endorsed worker restart in #418, before the restart implementation and subsequent locking fixes.
Fix intermittent test failure introduced in 6456c6e2c4.
11 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #4152 of 2 reviewers saw the final version

The added wait_for_event call in src/test/subscription/t/035_conflicts.pl exactly matches #415.

  • shveta maliksaw the final versiontrailerAgreed with the race analysis and approved the patch in #416.
  • Amit Kapilasaw the final versioncommittercommitted the patch
Fix Coverity issue reported in commit a850be2fe.
9 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #4061 of 1 reviewer saw the final version

Preserves Shveta's six-line NULL-leader guard from #406 in FindDeletedTupleInLocalRel and additionally corrects a nearby comment.

  • Amit Kapilasaw the final versiontrailerCommitted Shveta's guard with a nearby comment correction, establishing final review despite no separate substantive reply in the thread.
Add test to prevent premature removal of conflict-relevant data.
8 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #4072 of 2 reviewers saw the final version

Matches #407 in twophase.c, subscription build files, and 035_conflicts.pl, with only a test-comment correction.

  • shveta maliksaw the final versiontrailerTested the race coverage and suggested test explanations in #402, followed by test timing and placement adjustments.
  • Amit Kapilasaw the final versiontrailerReported that the earlier test did not reliably fail without the fix in #405 and committed the strengthened version.
Post-commit review fixes for 228c370868.
8 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1Also in: Avoid retaining conflict-related data when no tables are subscribed (part of a posted patchset)
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #4033 of 4 reviewers saw the final version

The three file diffs in the first patch of #403 match exactly: twophase.c, walsender.c, and twophase.h implement prepared-transaction retention, while its race test was left out. The other five committed file diffs supply launcher-wakeup and empty-subscription fixes from #599805 in thread #52177, consistent with that thread's verdict; this commit combines both threads' work.

  • shveta maliksaw the final versiontrailerTested the prepared-transaction fix and proposed the adopted commitproc simplification in #402.
  • Dilip Kumarno review foundtrailerNo review of this commit's prepared-transaction, empty-subscription, or launcher-wakeup fixes was found in this thread.
  • Nisha Moondsaw the final versiontrailerTesting in #392 exposed the disabled-subscription launcher-wakeup defect, which Hou assigned to a separate-thread fix in #396.
  • Amit Kapilasaw the final versiontrailerConfirmed pushing the prepared-transaction fix in #405 and reviewed the combined commit as its committer.
Add max_retention_duration option to subscriptions.
2 Sep 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #3972 of 5 reviewers saw the final version

Commits the first patch of #397, leaving automatic resumption and monitoring separate; differences are an equivalent wait-time conditional refactor, comment layout, and the catalog-version bump.

  • shveta maliksaw the final versiontrailerRepeatedly tested timeout and recovery behavior and explicitly confirmed the final patch's fixes in #398.
  • Nisha Moondsaw an earlier versiontrailerFound timeout, warning, and launcher defects, including #179 and #393, before the final slot-recovery and wait-time changes.
  • Masahiko Sawadasaw an earlier versiontrailerReviewed shared-slot timeout policy and identified restart-state persistence concerns in #357, prompting substantial catalog-state changes.
  • Dilip Kumarsaw an earlier versiontrailerReviewed timeout policy, notices, and persistent state, with code and documentation comments in #379 before subsequent recovery changes.
  • Amit Kapilasaw the final versiontrailerSupplied review deltas in #378 and #387 and reviewed the final timeout implementation as committer.

Jul - Aug 2025

2 commits
Detect and report update_deleted conflicts.
4 Aug 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #3313 of 5 reviewers saw the final version

Matches the first patch of #331, including deleted-tuple scans, conflict reporting, statistics, and tests, with an additional catalog-version bump; timeout and recovery remained pending.

  • shveta maliksaw the final versiontrailerReviewed conflict semantics and scan behavior, reported the tablesync assertion in #320, and approved the near-final detector in #324.
  • Nisha Moondsaw an earlier versiontrailerReported a deleted-tuple lookup assertion in #44 and tested the earlier series, before the final index-scan and cutoff changes.
  • Dilip Kumarsaw the final versiontrailerReviewed the detector and explicitly approved it with commit-message feedback in #332.
  • Hayato Kurodasaw an earlier versiontrailerProposed index lookup and demonstrated its REINDEX CONCURRENTLY failure in #43, long before the final guarded index-scan implementation.
  • Amit Kapilasaw the final versiontrailerProposed safe index scans in #308, supplied #321, and committed the consolidated detector and statistics patch.
Preserve conflict-relevant data during logical replication.
23 Jul 2025Amit Kapilamaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #3013 of 5 reviewers saw the final version

Matches #301 except for a cascading-replication comment and catalog-version bump; Nisha's posting explicitly credits Hou with writing the forwarded update, consistent with its patch header.

  • shveta maliksaw an earlier versiontrailerExtensively reviewed retention safety, configuration, and tests, approving #253 in #254, before subsequent barriers, launcher refactoring, and database filtering.
  • Masahiko Sawadasaw the final versiontrailerReviewed the architecture and performance tradeoffs, supplied #296, and explicitly approved the final foundational patch in #304.
  • Dilip Kumarsaw an earlier versiontrailerReviewed transaction ordering and retention safety, notably identifying missing write barriers in #257, before later launcher and database-filter changes.
  • Nisha Moondsaw the final versiontrailerPerformed extensive correctness and performance testing and discussed and forwarded Hou's final database-filtering update in #301.
  • Amit Kapilasaw the final versiontrailerDirected protocol and slot-safety revisions, supplied multiple review deltas, and confirmed the foundational patch's push in #305.

Credits across 9 commits

Author
Zhijie Hou (Fujitsu)8
shveta malik1
Reviewer
Amit Kapilacommitter9
shveta malik8
Dilip Kumar5
Nisha Moond4
Masahiko Sawada3
Hayato Kuroda (Fujitsu)1
Reported by
Robert Haas1
Committer
Amit Kapila9