model-writtenrun 9697 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Arthur Zakirov proposed reusing buffered WAL data when the requested length exactly equals the buffered length, after Grigory Smolkin noticed severe slowdown from repeated block reads and backward seeks in zlib archives #1.
- Grigory Smolkin questioned safety and suggested a recovery performance benefit; Michael Paquier requested careful review and CommitFest tracking, which Arthur arranged #2 #3 #4.
- Andrey Lepikhov traced the comparison's history and identified the semantic difference between a record offset and a requested length; Arthur confirmed that requests for a full page triggered redundant reads in his application #5 #6.
- Michael Paquier agreed with the equality change but characterized it as a performance improvement rather than a correctness fix, then asked how the compressed-WAL callback worked; Arthur explained its full-page reads and existing buffering workaround #7 #8.
- Michael Paquier scheduled an additional review and committed the original patch unchanged as 0dd6ff0ac8, reporting tests with plugins, pg_waldump, and a primary/standby setup using pgbench #9 #10.
- The thread ended with Arthur thanking Michael, with the sole submitted patch committed and no outstanding revisions #11.