model-writtenrun 7135 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela reported a Coverity dead-code finding in collect_corrupt_items() and proposed changing two visibility-check assignments from false to true in #1.
- Noah Misch reverted the faulty read-stream optimization and its follow-up in ddfc556a64 because they prevented corruption detection, superseding the attached fix.
- The optimization returned in 65c310b310, credited to Nazir Bilal Yavuz, with corrected check initialization and new corruption tests; this implementation came from the later patchset #571263 in thread #50109, with light committer edits, and its commit message reports a measured 5% performance improvement.
- After both commits had landed, Michael Paquier questioned whether the report remained relevant in #2, and Nazir Bilal Yavuz identified the restored implementation as the fix in #3.
- Ranier confirmed that the earlier revert had already made his patch irrelevant in #4, and Michael acknowledged that resolution in #5, leaving no outstanding patch in this thread.