Re: BUG: Former primary node might stuck when started as a standby
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Aleksander Alekseev <aleksander@timescale.com>
Date: 2026-03-02T07:15:30Z
Lists: pgsql-hackers
On Mon, Mar 02, 2026 at 09:00:00AM +0200, Alexander Lakhin wrote: > As it turned out, v2 patch works as expected, but the test may still fail > when the build is configured without injection points. Maybe this test ( > and similar one(s)) should be skipped in this case, not sure... Exactly, I don't see what else we can do here except skip the sequences of the test that we know may fail if injection points are not enabled in the build. Looking at v2, the patch ought to comment the reason *why* these tests are skipped and *why* an injection point is used. The reader should have more details than just a small hint about a set of "random failures". I'd suggest to document that once with the first injection point attached, and have the other blocks hold comments telling to look at the first block. -- Michael
Commits
-
Fix rare instability in recovery TAP test 004_timeline_switch
- 1346794feb77 14.23 landed
- 270e7b4ff519 15.18 landed
- 8e3c377e284a 16.14 landed
- 6fb8f424be05 17.10 landed
- 7185eddf0522 18.4 landed
- ea4744782b3f 19 (unreleased) landed
-
Fix rare instability in recovery TAP test 009_twophase
- bce98e49e8ac 14.23 landed
- be233b301e60 15.18 landed
- a7499ff5eb58 16.14 landed
- c81b10459bb8 17.10 landed
- 54e0a8fff145 18.4 landed
- ad8c86d22cbd 19 (unreleased) landed