Oct 2023

1 commit
Fail hard on out-of-memory failures in xlogreader.c
3 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+1 more
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

All eight diff hunks in 6b18b3fe2c match #1, including replacing non-throwing allocations with palloc(), making allocate_recordbuf() return void, and asserting successful oversized allocation. Only the diff index hash abbreviation lengths differ.

  • Thomas Munrosaw the final versionLLM analysis, 99% sureThomas supported hard failure during crash recovery and explained why existing WAL header validation makes allocation failure distinguishable from recycled bogus data #2.
  • Noah Mischsaw the final versionLLM analysis, 99% sureNoah endorsed hard failure instead of treating ENOMEM as end-of-WAL and noted that his filesystem atomicity caveat did not change that conclusion #4.

Credits across 1 commit

Author
Michael PaquierLLM1
Reported by
Ethan Mertz1
Committer
Michael Paquier1

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