Oct - Nov 2019

3 commits
Add some assertions in syncrep.c
1 Nov 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #143 of 3 reviewers saw the final version

Extracts the six assertion/comment hunks from #14 in src/backend/replication/syncrep.c without substantive edits; the exit-race hunk landed separately. Michael Paquier confirms the split and development-branch-only assertions in #17.

  • Fujii Masaosaw the final versiontrailerFujii reviewed the combined patch's locking behavior in #10 and approved the final combined version in #15.
  • Kyotaro Horiguchisaw the final versiontrailerKyotaro examined assertion placement and endorsed the interrupt-holdoff check in #6, and those assertion hunks remained unchanged through #14.
  • Dongming Liusaw the final versiontrailerDongming expressed approval of the combined versions in #9 and #16, including the final submitted patch.
Fix race condition at backend exit when deleting element in syncrep queue
1 Nov 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+6 more
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #143 of 3 reviewers saw the final version

Extracts the SyncRepCleanupAtProcExit() hunk from #14, with only comment reflow, leaving assertions for a separate commit. The commit credits Dongming Liu, whose original fix appeared in #1, with the final double-check design supplied by Fujii Masao in #10.

  • Kyotaro Horiguchisaw the final versiontrailerKyotaro reviewed the original fix in #3 and its surroundings in #6, then endorsed the exact double-check logic adopted in the final patch through #11.
  • Fujii Masaosaw the final versiontrailerFujii identified unnecessary exit-time locking and supplied the adopted double-check code in #10, then approved the revised patch in #15.
  • Michael Paquiersaw the final versiontrailerMichael revised the fix, benchmarked backend-exit locking in #14, and committed and backpatched the final implementation as reported in #17.
Fix typo in comment of syncrep.c
31 Oct 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surelanded as postedfrom patchset #61 of 1 reviewer saw the final version

Exactly matches the comment-only patch in #6, correcting 'continue to waiting' and reflowing the comment in SyncRepUpdateSyncStandbysDefined(); application was announced in #13.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Dongming Liu1
Kyotaro Horiguchi1
Michael Paquier1
Reviewer
Fujii Masao2
Kyotaro Horiguchi2
Michael Paquiercommitter2
Dongming Liu1
Committer
Michael Paquier3