May - Jun 2021

3 commits
Remove unnecessary use of Time::HiRes from 013_crash_restart.pl.
2 Jun 2021Fujii Masaomaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #171 of 1 reviewer saw the final version

The commit takes only the 013_crash_restart.pl cleanup from the two-patch submission #17, removing the unused Time::HiRes import. Its diff matches that attachment exactly apart from index hash lengths; the recovery tests landed separately.

  • Kyotaro Horiguchisaw the final versiontrailerIn #19, he approved the import removal after checking that other Time::HiRes imports accompany actual usleep usage.
Add regression test for recovery pause.
2 Jun 2021Fujii Masaomaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #171 of 2 reviewers saw the final version

The commit takes only the recovery-test attachment from the two-patch submission #17, updating src/test/recovery/t/005_replay_delay.pl. Its diff matches that attachment exactly apart from index hash lengths; the unused-import cleanup landed separately.

  • Kyotaro Horiguchisaw the final versiontrailerHe requested checks of actual replay behavior in #15 and reviewed the revised tests in #19, accepting their possible false-success limitation.
  • Dilip Kumarsaw an earlier versiontrailerIn #16, he accepted polling for the paused state in #14, before #17 switched to streaming recovery and added substantive receive/replay LSN checks.
Make standby promotion reset the recovery pause state to 'not paused'.
19 May 2021Fujii Masaomaster14beta2REL_19_STABLE14beta2REL_18_STABLE14beta2REL_17_STABLE14beta2REL_16_STABLE14beta2REL_15_STABLE14beta2REL_14_STABLE14beta2
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The complete xlog.c diff matches #1 exactly apart from index hash lengths, including the comment and SetRecoveryPause(false) call in SetPromoteIsTriggered(). The additional return proposed in #4 is absent.

  • Dilip Kumarsaw the final versiontrailerIn #4, he reviewed the reset and proposed an additional loop exit, then acknowledged the safety objection to that addition in #7.
  • Kyotaro Horiguchisaw the final versiontrailerIn #8, he explicitly checked that resetting pause after setting the shared promotion flag prevents subsequent SQL requests from pausing recovery again.

Credits across 3 commits

Author
Fujii Masao3
Reviewer
Kyotaro Horiguchi3
Dilip Kumar2
Committer
Fujii Masao3