Mar 2026

10 commits
Fix test_aio read_buffers() to work without cassert
31 Mar 2026Melanie Plagemanmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #291 of 1 reviewer saw the final version

Applying #29 to the commit parent reproduces src/test/modules/test_aio/test_aio.c exactly, including nblocks_per_io tracking and guarded foreign_io access.

  • Andres Freundsaw the final versiontrailerApproved the patch in #30 and recommended committing it without changing production initialization behavior in #32.
aio: Don't wait for already in-progress IO
27 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #222 of 3 reviewers saw the final version

The final behavioral patch in #22 reproduces the committed production code exactly; final edits adjust comments and the head-buffer injection test in 001_aio.pl following #25. The commit credits Melanie and Andres as authors.

  • Andres Freundsaw the final versiontrailerReviewed implementation details in #12 and #14, then revised and committed the final version as confirmed in #26.
  • Melanie Plagemansaw the final versiontrailerReviewed the redesigned interface in #16 and the final behavioral patch in #25, proposing the adopted head-buffer test adjustment.
  • Nazir Bilal Yavuzsaw an earlier versiontrailerConfirmed the performance improvement in #5 and analyzed test paths in #10, before the StartBufferIO redesign and direct foreign-I/O tests.
bufmgr: Improve StartBufferIO interface
27 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #220 of 1 reviewer saw the final version

Applying the StartBufferIO interface patch from #22 to the commit parent reproduces every changed file exactly. The commit credits Melanie as co-author alongside sender Andres.

  • Thomas Munrosaw an earlier versionLLM analysis, 86% sureProposed merging the in-progress check into the I/O-start helper with a three-state result and wait-reference output in #3, an approach adopted in #4 and subsequently generalized.
test_aio: Add read_stream test infrastructure & tests
27 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #221 of 2 reviewers saw the final version

Matches the read-stream infrastructure patch in #22 with three stdout resets in 004_read_stream.pl and a corrected short-read debug field in test_aio.c, all requested in #23.

  • Nazir Bilal Yavuzsaw an earlier versiontrailerCaught the hard-coded worker method in #5 and explained test coverage in #10, before later injection-hook changes including block-specific matching.
  • Melanie Plagemansaw the final versiontrailerReviewed the test infrastructure in #7 and final test cases in #23, suggesting the adopted stdout resets and debug-message fix while explicitly excluding injection-hook internals.
test_aio: Add basic tests for StartReadBuffers()
27 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #221 of 1 reviewer saw the final version

Matches the basic StartReadBuffers() tests in #22 except for passing forknum instead of MAIN_FORKNUM to PrefetchBuffer() in test_aio.c, requested in #23.

  • Melanie Plagemansaw the final versiontrailerFound initialization, fork handling, integer-type and coverage issues in #20, then approved the revised tests with the final forknum correction in #23.
bufmgr: Pass io_object and io_context through to PinBufferForBlock()
26 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #191 of 1 reviewer saw the final version

The complete PinBufferForBlock() parameter refactor in #19 reproduces committed bufmgr.c exactly. Melanie implemented Andres's suggestion to calculate io_object and io_context in callers.

  • Andres Freundsaw the final versioncommittercommitted the patch
bufmgr: Restructure AsyncReadBuffers()
26 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #191 of 1 reviewer saw the final version

Applying the complete AsyncReadBuffers() restructuring patch from #19 reproduces committed bufmgr.c exactly; apparent textual differences are diff alignment. The patch and commit credit Melanie.

  • Andres Freundsaw the final versiontrailerRequested separation of refactoring in #12, reviewed the split in #14, and adjusted setup ordering before committing.
bufmgr: Make buffer hit helper
26 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #191 of 2 reviewers saw the final version

The complete buffer-hit helper patch in #19 reproduces committed bufmgr.c exactly, introducing TrackBufferHit() and replacing duplicated accounting. Its patch header and commit both identify Melanie as author.

  • Nazir Bilal Yavuzsaw an earlier versiontrailerApproved the helper with a naming suggestion in #5, before its I/O-context parameters, inlining and accounting order were revised.
  • Andres Freundsaw the final versioncommittercommitted the patch
aio: Refactor tests in preparation for more tests
26 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #192 of 2 reviewers saw the final version

Applying the complete test-refactoring patch in #19 reproduces all four committed files exactly, including TestAio.pm and the separated initdb tests.

  • Nazir Bilal Yavuzsaw the final versiontrailerApproved the refactor in #5 and the subsequent small changes in #10, after which only light changes followed.
  • Melanie Plagemansaw the final versiontrailerExplicitly approved Andres's refactor in #7 and supplied the small supported-method caching improvement incorporated into the committed version.
Fix off-by-one error in read IO tracing
26 Mar 2026Andres Freundmaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 100% surelanded as postedfrom patchset #191 of 1 reviewer saw the final version

The complete tracing fix in #19 reproduces committed bufmgr.c exactly, folding nblocks_done into the local block number before accounting. Melanie introduced the fix in #11.

  • Andres Freundsaw the final versiontrailerSuggested the local-variable formulation and backpatching in #12, approved the revision in #14, and committed it.

Credits across 10 commits

Author
Melanie Plageman7
Andres Freund1 LLM5
Reviewer
Andres Freundcommitter6
Melanie Plageman4
Nazir Bilal Yavuz4
Reported by
Alexander Lakhin1
Committer
Andres Freund9
Melanie Plageman1

N LLM means N of the credits come from LLM analysis, not from commit trailers.