Jul 2023

4 commits
worker_spi: Fix race condition in newly-added TAP tests
29 Jul 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #262 of 2 reviewers saw the final version

Commits exactly the distinct-ID portion of #26 in t/001_worker_spi.pl, changing the dynamic workers to IDs 10 and 11 with the accompanying comment. The wait_event checks were omitted, as explained in #33.

  • Andres Freundsaw the final versionLLM analysis, 99% sureReported and reproduced the race in the landed TAP tests in #25, then questioned the proposed wait_event check in #32, which was omitted from the commit.
  • Bharath Rupireddysaw the final versionLLM analysis, 92% sureReviewed #26 in #27 and #29, warning that manually separated IDs could permit future collisions and proposing schema prefixes, although that alternative was not adopted.
worker_spi: Switch to TAP tests
27 Jul 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #200 of 1 reviewer saw the final version

Lands the TAP conversion from #20, with worker naming handled separately by d9eb92c7b1, plus .gitignore cleanup, a launch-result assertion and test wording changes. The commit credits Bharath Rupireddy for the preloaded-worker tests and sender Michael Paquier for migrating the SQL tests.

  • Masahiro Ikedasaw an earlier versiontrailerTested and reviewed the earlier TAP additions in #15, #17 and #19, before #20 consolidated the SQL and TAP suites and expanded the checks.
worker_spi: Use term "dynamic" for bgworkers launched with worker_spi_launch()
26 Jul 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #202 of 2 reviewers saw the final version

Extracts the dynamic-worker naming hunk present in #20, originally introduced by Bharath Rupireddy in #12. It omits static-worker renaming and shortens bgw_type to "worker_spi dynamic", matching the explanation in #24.

  • Masahiro Ikedasaw the final versiontrailerTested the patches and approved #18 in #19, after which this commit's naming portion changed only through extraction and minor naming adjustments.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix worker_spi when launching workers without shared_preload_libraries
21 Jul 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

Matches the database-GUC relocation and PGC_SIGHUP change in #1, adding the explanatory comment proposed in #4. Michael explicitly says in #11 that he applied the first version with that comment, leaving out the test-configuration changes from #7.

  • Bharath Rupireddysaw the final versiontrailerSupported the fix and requested documentation in #3, approved the shorter comment in #5, and challenged the additional test and comment changes in #10.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Bharath Rupireddy2
Michael Paquier1 LLM2
Masahiro Ikeda1
Reviewer
Masahiro Ikeda2
Michael Paquiercommitter2
Bharath Rupireddy1
Reported by
Andres Freund1
Committer
Michael Paquier4

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