I'm wondering if you had a chance to reproduce the problem. I'm seeing something similar, but not exactly, so I'm curious if this may be another manifestation of the error I get.
I use Postgres 17.7 and I have configured incremental backup
wal_summary_keep_time=10d show wal_summary_keep_time=on
On the standby, this message is written every 10 seconds by the walsummarizer process.
2026-02-17 11:40:22.548 CET [544677]: [297-1] user=,db=,client=,application= ERROR: could not read WAL from timeline 6 at 698/460000A0: invalid record length at 698/460000A0: expected at least 24, got 0 2026-02-17 11:40:32.559 CET [544677]: [298-1] user=,db=,client=,application= ERROR: could not read WAL from timeline 6 at 698/460000A0: invalid record length at 698/460000A0: expected at least 24, got 0