Fix crash during recovery when redo segment is missing

Edit
ID 6279
Title Fix crash during recovery when redo segment is missing
CI (CFBot) Needs rebase! Needs rebase since 10 months. Failing since 10 months.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Tags Backport Bugfix
Created 2025-12-04 06:18:42
Last modified 2026-01-21 21:07:25 (8 months ago)
Latest email 2026-01-21 21:07:51 (8 months ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Committed
Target version
Authors Nitin Jadhav (nitinjadhav11)
Reviewers Become reviewer
Committer Michael Paquier (michael-kun)
Links
Emails
Fix crash during recovery when redo segment is missing
First at 2025-02-21 10:59:27 by Nitin Jadhav <nitinjadhavpostgres at gmail.com>
Latest at 2026-01-21 21:07:51 by Kirill Reshke <reshkekirill at gmail.com>
Latest attachment (v4-0001-Check-presence-of-REDO-record.patch) at 2025-12-15 08:48:29 from Michael Paquier <michael at paquier.xyz>
    Attachment (v4-0001-Check-presence-of-REDO-record.patch) at 2025-12-15 08:48:29 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v3-0001-Fix-crash-during-recovery-when-redo-segment-is-missi.patch) at 2025-12-10 10:31:28 from Nitin Jadhav <nitinjadhavpostgres at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Fix-crash-during-recovery-when-redo-segment-is-missi.patch) at 2025-12-04 06:36:30 from Nitin Jadhav <nitinjadhavpostgres at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-crash-during-recovery-when-redo-segment-is-missi.patch) at 2025-02-21 10:59:27 from Nitin Jadhav <nitinjadhavpostgres at gmail.com> (Patch: Yes)
History
When Who What
2026-01-21 21:07:25 Kirill Reshke (reshke) Closed in commitfest PG19-4 with status: Committed
2026-01-21 21:07:25 Kirill Reshke (reshke) Changed committer to michael-kun
2025-12-17 01:27:20 CFbot Patch needs rebase
2025-12-04 07:39:25 CFbot Patch does not need rebase anymore
2025-12-04 06:20:24 CFbot Patch needs rebase
2025-12-04 06:18:42 Nitin Jadhav (nitinjadhav11) Attached mail thread CAMm1aWaaJi2w49c0RiaDBfhdCL6ztbr9m=daGqiOuVdizYWYaA@mail.gmail.com
2025-12-04 06:18:42 Nitin Jadhav (nitinjadhav11) Created patch record
Edit