Sep 2026

1 commit
Wait for transactions of an initial decoding snapshot to commit
24 Sep 2026Álvaro HerreramasterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25Also in: Adding REPACK [concurrently] (not this thread)
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #251 of 4 reviewers saw the final version

The commit takes the standalone running-XID/bsearch wait loop from #25, excludes its test patches, limits waits to top-level transactions, and revises comments in src/backend/replication/logical/snapbuild.c, following the explicit return to that implementation in #35 and #37. Attribution to thread #51992 as from_discussion is superseded by this matching September submission: that thread's supplied patchset table ends in June and its verdict identifies no matching attachment.

  • Andres Freundsaw an earlier versionLLM analysis, 99% sureIn #3, he challenged CLOG-only waiting and required ProcArray consistency for ordinary MVCC visibility, before the substantial redesign in #25.
  • Mihail Nikalayeusaw an earlier versionLLM analysis, 76% sureIn #4, he endorsed the proposed correction to the transaction-status check in the early fix, before the implementation was substantially redesigned.
  • Zhijie Hou (Fujitsu)saw an earlier versionLLM analysis, 98% sureIn #18, he identified cache lifetime and wraparound problems and proposed waiting for ProcArray removal in SnapBuildInitialSnapshot(), which became central to the subsequent redesign.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Antonin Houska1
Rui Zhao1
Reviewer
Alvaro Herreracommitter1
Reported by
Mihail Nikalayeu1
Committer
Alvaro Herrera1