Feb 2019

2 commits
Fix inconsistent out-of-memory error reporting in dsa.c.
24 Feb 2019Thomas Munromaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+3 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #9

29ddb548f6 preserves both fixes from #9: respecting DSA_ALLOC_NO_OOM when span allocation fails and raising FATAL for an inconsistent FreePageManagerGet() failure. The commit removes redundant braces from the new error handler and an existing equivalent handler, and revises the commit explanation.

Fix race in dsm_unpin_segment() when handles are reused.
17 Feb 2019Thomas Munromaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+3 more
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

0b55aaacec matches Thomas Munro's inline patch in #2, changing dsm_unpin_segment() to skip slots with refcnt <= 1 and updating the comment in src/backend/storage/ipc/dsm.c. Thomas confirmed pushing the fix in #7; no attached patchset contains it.

  • Justin Pryzbysaw the final versionLLM analysis, 99% sureAfter the inline fix in #2, Justin reported approximately 36 hours of testing without errors in #3, before the unchanged fix was committed.

Credits across 2 commits

Author
Thomas Munro2
Tested by
Justin Pryzby1
Reported by
Jakub Glapa1
Justin Pryzby1
Committer
Thomas Munro2