Jun 2021

2 commits
Don't use Asserts to check for violations of replication protocol.
12 Jun 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4+3 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #100 of 1 reviewer saw the final version

The commit retains the assertion replacements from #10, standardizes protocol errors on ereport with errmsg_internal, and adds transaction-ID, hash-lookup and first-segment checks in worker.c plus a hash_search correction in reorderbuffer.c. Tom Lane explicitly confirmed the additional corrections in #14.

  • Amit Kapilasaw an earlier versionLLM analysis, 99% sureIn #11, Amit questioned inconsistent elog use in handle_streamed_transaction and apply_handle_commit, which the commit corrected, but additional validation changes followed his review.
Rearrange logrep worker's snapshot handling some more.
10 Jun 2021Tom Lanemaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2REL_13_STABLE13.4+2 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #61 of 1 reviewer saw the final version

The worker.c diff matches #6 exactly after renaming begin_transaction_step/end_transaction_step to begin_replication_step/end_replication_step and normalizing diff metadata. The reproducer from #1 was not included.

  • Mark Dilgersaw the final versionLLM analysis, 100% sureMark reported in #7 that his regression test passed with #6 applied, and only helper renaming followed before commit.

Credits across 2 commits

Author
Tom LaneLLM2
Committer
Tom Lane2

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