Re: BUG: Cascading standby fails to reconnect after falling back to archive recovery
Marco Nenciarini <marco.nenciarini@enterprisedb.com>
From: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
To: Xuneng Zhou <xunengzhou@gmail.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2026-03-17T08:12:50Z
Lists: pgsql-hackers
I agree, a standalone test file is the right call here. I looked at the same candidates. 025_stuck_on_old_timeline.pl is the closest thematic match, but its archive command intentionally copies only history files and the whole test revolves around promotion and timeline following. Adapting it would mean replacing the archive command and skipping the promotion, which defeats its original purpose. The reconnect-after-archive-fallback scenario is distinct enough to justify its own file, and at 143 lines it's reasonably small. Best regards, Marco
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix scenario where streaming standby gets stuck at a continuation record.
- 066871980183 11.0 cited
-
Allow a streaming replication standby to follow a timeline switch.
- abfd192b1b5b 9.3.0 cited