Dec 2024

1 commit
Accommodate very large dshash tables.
17 Dec 2024Nathan Bossartmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11REL_14_STABLE14.16REL_13_STABLE13.19
LLM analysis, 100% surelanded as postedfrom patchset #24 of 4 reviewers saw the final version

Both #2 and 853cef0976 replace dsa_allocate0() in src/backend/lib/dshash.c's resize() with dsa_allocate_extended() using DSA_ALLOC_HUGE | DSA_ALLOC_ZERO. The committed hunk differs only in line wrapping and base context.

  • Cédric Villemainsaw the final versiontrailerCédric examined the doubling policy and allocation boundary in #3, asking whether large tables could grow more gradually; the patch in #2 subsequently landed with only whitespace changes.
  • Michael Paquiersaw the final versiontrailerMichael endorsed DSA_ALLOC_HUGE in #7, explaining how custom statistics could make the limit easier to reach while questioning the need for backpatching.
  • Andres Freundsaw the final versiontrailerAndres assessed the change as low risk in #8 and argued for backpatching because relation and function statistics could realistically reach the limit.
  • Nathan Bossartsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Matthias van de Meent1
Reviewer
Andres Freund1
Cédric Villemain1
Michael Paquier1
Nathan Bossartcommitter1
Reported by
Andreas Scherbaum1
Committer
Nathan Bossart1