pg_logical_slot_get_changes waits continously for a partial WAL record spanning across 2 pages

Edit
ID 5886
Title pg_logical_slot_get_changes waits continously for a partial WAL record spanning across 2 pages
CI (CFBot) Needs rebase! Needs rebase since 4 weeks. Failing since 4 weeks.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Replication & Recovery
Tags Logical Replication
Created 2025-07-02 03:29:09
Last modified 2025-07-25 03:58:10 (5 days ago)
Latest email 2025-07-19 22:57:10 (1 week ago)
Status
PG19-1 (2025-07-01 - 2025-07-31): Committed
Target version
Authors vigneshwaran C (vignesh.postgres)
Reviewers Become reviewer
Committer Alexander Korotkov (smagen)
Links
Emails
pg_logical_slot_get_changes waits continously for a partial WAL record spanning across 2 pages
First at 2025-06-25 16:49:55 by vignesh C <vignesh21 at gmail.com>
Latest at 2025-07-19 22:57:10 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v5-PG17-0003-Improve-recovery-test-046_checkpoint_logical.patch) at 2025-07-17 21:09:29 from Alexander Korotkov <aekorotkov at gmail.com>
    Attachment (v5-PG17-0003-Improve-recovery-test-046_checkpoint_logical.patch) at 2025-07-17 21:09:29 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Fix-infinite-wait-when-reading-partially-written-.patch) at 2025-07-15 03:31:06 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (049_slot_get_changes_wait_continously_pg17.zip) at 2025-06-30 12:21:51 from vignesh C <vignesh21 at gmail.com> (Patch: No)
    Attachment (test_multiple_page_get_changes.sh) at 2025-06-27 15:58:44 from vignesh C <vignesh21 at gmail.com> (Patch: No)
    Attachment (v2-0001-Fix-infinite-wait-when-reading-partially-written-.patch) at 2025-06-26 11:55:42 from vignesh C <vignesh21 at gmail.com> (Patch: Yes)
    Attachment (partial_wal_record_fix.patch) at 2025-06-25 16:49:55 from vignesh C <vignesh21 at gmail.com> (Patch: Yes)
History
When Who What
2025-07-25 03:58:10 vigneshwaran C (vignesh.postgres) Closed in commitfest PG19-1 with status: Committed
2025-07-25 03:58:10 vigneshwaran C (vignesh.postgres) Changed committer to smagen
2025-07-02 03:37:22 CFbot Patch needs rebase
2025-07-02 03:29:10 vigneshwaran C (vignesh.postgres) Attached mail thread CALDaNm34m36PDHzsU_GdcNXU0gLTfFY5rzh9GSQv=w6B+QVNRQ@mail.gmail.com
2025-07-02 03:29:10 vigneshwaran C (vignesh.postgres) Created patch record
Edit