Mar 2024

3 commits
Add PostgreSQL::Test::Cluster::wait_for_event()
4 Mar 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #341 of 2 reviewers saw the final version

Derives from #34, retaining the Cluster.pm polling helper and recovery-test conversion. Michael renamed it wait_for_event(), reversed its arguments, and removed optional-backend handling, explicitly explaining these edits in #36.

  • Andrey Borodinsaw an earlier versiontrailerAndrey identified the stray print and requested optional backend filtering in #30, then reported successful testing in #32, before the committer removed that optional behavior.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Add regression test for restart points during promotion
4 Mar 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #162 of 2 reviewers saw the final version

Commits the recovery-test component of #16, including the xlog.c injection point and build integration, with naming/comment edits and removal of checkpoint_timeout = 30s. The commit credits Michael Paquier and original test author Kyotaro Horiguchi; Michael confirms this landing in #35.

  • Andrey Borodinsaw the final versiontrailerAndrey reviewed the test's polling code in #3 and again against #16 in #18, requesting the reusable helper subsequently implemented separately.
  • Bertrand Drouvotsaw the final versiontrailerBertrand reviewed timeout handling in #8, discussed test scope in #13, endorsed the test with a log_contains() suggestion in #15, and accepted the resulting revision in #17.
injection_points: Add wait and wakeup of processes
4 Mar 2024Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #161 of 2 reviewers saw the final version

Commits the wait/wakeup component of #16 in src/test/modules/injection_points plus its typedef entry, leaving the recovery test to a separate commit. The implementation differs only in whitespace and reducing INJ_MAX_WAIT from 32 to 8.

  • Andrey Borodinsaw an earlier versiontrailerAndrey identified the broadcast-only API's limitation in #3 and supplied a concrete multistep synchronization use case in #7, before the implementation gained named waiter slots.
  • Bertrand Drouvotsaw the final versiontrailerBertrand reviewed synchronization and naming in #4 and #8, reviewed the named-counter implementation in #13, and endorsed the later revisions in #15 and #17.

Credits across 3 commits

Author
Michael Paquier2
Bertrand Drouvot1
Kyotaro Horiguchi1
Reviewer
Andrey Borodin3
Bertrand Drouvot2
Michael Paquiercommitter1
Committer
Michael Paquier3