Jun 2024

1 commit
Fix relcache invalidation when relfilelocator is updated
21 Jun 2024Heikki Linnakangasmaster17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #210 of 2 reviewers saw the final version

The attachment restores RelationCloseSmgr() unconditionally in the invalidation loop, whereas the commit places it inside the RelationIsMapped() branch immediately before RelationInitPhysicalAddr() in src/backend/utils/cache/relcache.c #21 441ef5e1ba. Heikki explained this narrower placement before committing it #23 #24.

  • Alexander Lakhinsaw an earlier versionLLM analysis, 88% sureAlexander supplied a concurrent reproducer and crash trace identifying a regression in the landed #15, prompting the corrective patch, but did not review the subsequent fix in this thread #19.
  • Tom Lanesaw an earlier versionLLM analysis, 82% sureTom questioned why ordinary heap rewrites had not exposed the bug in response to #21, prompting Heikki's explanation and narrower placement of the fix #22 #23.

Mar 2024

1 commit
Don't destroy SMgrRelations at relcache invalidation
11 Mar 2024Heikki Linnakangasmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #151 of 1 reviewer saw the final version

The commit preserves both relcache.c hunks from #15 exactly and additionally removes the two-line caller-specific comment above smgrreleaseall() in src/backend/storage/smgr/smgr.c af0e7deb4a. This implements Thomas's comment feedback, as Heikki confirmed when announcing the commit #16 #18.

  • Thomas Munrosaw the final versiontrailerThomas approved the patch, requested a smgrreleaseall() comment update, and explained why releasing file descriptors remained necessary after missed invalidations; only comment changes followed #16 #18.

Credits across 2 commits

Author
Heikki LinnakangasLLM2
Reviewer
Thomas Munro1
Reported by
Alexander Lakhin1
Committer
Heikki Linnakangas2

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