model-writtenrun 6834 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ke reported that incremental backups with checksums and wal_log_hints disabled could restore stale visibility-map bits after VACUUM truncation, causing freezing errors and incorrect index-only scans, and supplied an inline fix marking the last remaining VM page modified in the WAL summarizer #1.
- Fujii Masao packaged Ke's approach into an attached patch and added a TAP test checking visibility-map contents after restoring an incremental backup #2.
- Shihao Zhong tested both summarizer-side and WAL-writer-side fixes, explained that the summarizer approach better covered older WAL and mixed-version primary/standby setups without additional WAL, and supplied a test delta because the original test passed without the fix on PostgreSQL 17 and 18 #3.
- Fujii Masao chose the summarizer fix first, leaving broader WAL logging for possible later consideration, and incorporated Shihao Zhong's per-block visibility checks while renumbering the test #4; Shihao Zhong then endorsed the revision #5.
- Fujii Masao committed #4 unchanged as b5545d3f5f, with backpatches through PostgreSQL 17, and confirmed the push in the final message #6; the commit warns that existing summaries and backups remain affected and recommends a new full backup from an uncorrupted server.