Jan 2023

2 commits
Avoid type cheats for invalid dsa_handles and dshash_table_handles.
25 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #692 of 2 reviewers saw the final version

The launcher.c replacements and two new invalid-handle macros match #69. The commit additionally updates two dsa.c uses identified in #70, moves and types DSM_HANDLE_INVALID in dsm_impl.h, and revises comments.

  • Kyotaro Horiguchisaw the final versionLLM analysis, 100% sureIdentified the omitted dsa_get_handle() and dsa_attach_in_place() replacements in #70, both included in the commit.
  • Tom Lanesaw the final versioncommittercommitted the patch
Track logrep apply workers' last start times to avoid useless waits.
22 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #631 of 2 reviewers saw the final version

Implements the shared restart-timestamp table and exit-path cleanup from #63, explicitly identified as the committed version in #64. Beyond naming and documentation edits, launcher.c gains an attachment fast path, shared worker-lookup locking, and revised per-subscription timestamp and eligibility calculations.

  • Amit Kapilasaw an earlier versionLLM analysis, 96% sureProposed dshash and criticized slot retention and garbage collection in #52, then endorsed the shared-table approach and requested explanatory comments in #62, before the committer's local launcher-logic changes.
  • Tom Lanesaw the final versioncommittercommitted the patch

Jan 2023

2 commits
Check for two_phase change at end of process_syncing_tables_for_apply.
6 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #581 of 3 reviewers saw the final version

Takes the standalone two_phase component from #58, moving readiness checking to the end of process_syncing_tables_for_apply(). The committed version additionally makes CommandCounterIncrement() conditional on pending two_phase mode and adjusts formatting.

  • Amit Kapilasaw an earlier versionLLM analysis, 98% sureQuestioned self-wakeup and catalog-state visibility in #44 and #49, requested the visibility comment in #53, and proposed splitting the change in #57, before the committer restricted CommandCounterIncrement() to pending two_phase mode.
  • Melih Mutlusaw an earlier versionLLM analysis, 96% sureChallenged broad relation-state notifications in #21 and unnecessary sync-worker wakeups in #24, before the implementation changed from notifications to an end-of-function restart check.
  • Tom Lanesaw the final versioncommittercommitted the patch
Wake up a subscription's replication worker processes after DDL.
6 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #581 of 6 reviewers saw the final version

Takes the DDL-wakeup component of the three-patch series in #58, as confirmed by #59. Besides reorganizing worker.c helpers and comments, it adds PrepareTransaction() cleanup for both launcher and worker notification state.

  • Thomas Munrosaw an earlier versionLLM analysis, 100% sureQuestioned whether one subscription variable was sufficient in #2, prompting the transaction-scoped list before later DDL coverage and PREPARE handling were added.
  • Hayato Kuroda (Fujitsu)saw an earlier versionLLM analysis, 100% sureReported the multiple-subscription problem in #4, requested deduplication and better notification placement in #6, and accepted the revision in #12, before subsequent functional additions.
  • Takamichi Osumisaw an earlier versionLLM analysis, 97% sureRaised unnecessary wakeups after subtransaction rollback in #7, which informed the notification-placement change in #10, before later DDL and PREPARE changes.
  • Zhijie Hou (Fujitsu)saw an earlier versionLLM analysis, 100% sureExplained why REFRESH PUBLICATION still needs a wakeup and recommended list_append_unique_oid() in #8, before the remaining DDL cases and PREPARE cleanup were implemented.
  • Melih Mutlusaw an earlier versionLLM analysis, 100% sureFound that the rename hook could notify workers for unrelated object types in #21, leading to the subscription-specific fix in #22, before later owner-change and PREPARE handling.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Nathan BossartLLM4
Reviewer
Tom Lanecommitter4
Committer
Tom Lane4

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