RE: BUG: Former primary node might stuck when started as a standby

Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>

From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Michael Paquier' <michael@paquier.xyz>
Cc: 'Alexander Lakhin' <exclusion@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Aleksander Alekseev <aleksander@timescale.com>
Date: 2026-03-04T07:07:51Z
Lists: pgsql-hackers
Dear Michael,

Thanks for the smarter solutions. Actually I have misunderstood that teardown_node
is used everywhere and it's necessary. Your analysis looks completely correct.

Best regards,
Hayato Kuroda
FUJITSU LIMITED




Commits

  1. Fix rare instability in recovery TAP test 004_timeline_switch

  2. Fix rare instability in recovery TAP test 009_twophase