Disable use of archiving in 009_twophase.pl
authorMichael Paquier <michael@paquier.xyz>
Wed, 21 Jun 2023 07:16:27 +0000 (16:16 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 21 Jun 2023 07:16:27 +0000 (16:16 +0900)
commit43090e1e705953d159553c91669a3ee7453ec271
treeb5dce74e4d2a8539d5a472e0087af6d5ef4b858d
parent4b4ee1e2b073ffe719e7ad1bb1c22253fb1096e2
Disable use of archiving in 009_twophase.pl

This partially reverts 68cb5af, as using archiving to enforce the
rename of the last partial segment of the old timeline at promotion to
use .partial as suffix is impacting the tests when it does switchovers.
As showed by the logs gathered by the CI in the tests that failed, a new
standby may fail to find the WAL segment it needs to follow a promoted
instance with its timeline jump, as it got renamed to .partial.

This problem would manifest as a run timeout with 009_twophase.pl, as
the new standby repeatedly requests a segment from the promoted primary
that it would not find.

Reported-by: Nathan Bossart
Discussion: https://postgr.es/m/20230621043345.GA787473@nathanxps13
Backpatch-through: 13
src/test/recovery/t/009_twophase.pl