Add archive_mode to prevent unarchived WAL on permanent primary failure

Edit
ID 6177
Title Add archive_mode to prevent unarchived WAL on permanent primary failure
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 2, First patch: +152−35, All patches: +805−43
Topic Replication & Recovery
Tags Physical Replication
Created 2025-10-29 08:16:23
Last modified 2025-12-29 11:23:05 (1 hour ago)
Latest email 2025-11-05 04:33:52 (1 month ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Needs review
PG19-3 (2025-11-01 – 2025-11-30): Moved to different CF
Target version 19
Authors Andrey Borodin (x4m)
Reviewers Become reviewer
Committer
Links
Emails
[PATCH] Add archive_mode=follow_primary to prevent unarchived WAL on standby promotion
First at 2025-10-23 16:25:04 by Andrey Borodin <x4mmm at yandex-team.ru>
Latest at 2025-12-22 14:10:30 by Roman Khapov <rkhapov at yandex-team.ru>
Latest attachment (v2-0001-inproduce-general-polling-functions-for-TAP-tests.patch) at 2025-12-22 14:10:30 from Roman Khapov <rkhapov at yandex-team.ru>
    Attachment (v2-0001-inproduce-general-polling-functions-for-TAP-tests.patch) at 2025-12-22 14:10:30 from Roman Khapov <rkhapov at yandex-team.ru> (Patch: Yes)
    Attachment (v1-0001-Add-archive_mode-follow_primary-to-prevent-WAL-lo.patch) at 2025-10-23 16:25:04 from Andrey Borodin <x4mmm at yandex-team.ru> (Patch: Yes)
History
When Who What
2025-12-29 11:23:05 Andrey Borodin (x4m) Moved from CF PG19-3 to CF PG19-4
2025-10-29 08:16:23 Andrey Borodin (x4m) Attached mail thread EBB5D20D-8630-4557-999F-999BAD90BCCF@yandex-team.ru
2025-10-29 08:16:23 Andrey Borodin (x4m) Created patch record
Edit