Repository navigation
Fix high memory usage of text index materialization on packed or compact parts - #132964
Conversation
`MATERIALIZE INDEX` on a packed or `Compact` part built text indexes entirely in memory, ignoring `text_index_max_memory_usage_before_flush`. Build them in flushed segments, as mutations of other parts and merges already do. Fixes #132706.
|
Workflow [PR], commit [af6c4cb] Summary: ✅
AI ReviewSummaryPR #132964 makes text index materialization on packed and Stream-name consumers checked: The head Fast test report records both Final VerdictStatus: ✅ Approve |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units13 translation units recompiled, 87 s compile time in total, 13 of them have a recent master baseline. |
|
Let's backport it. |
Backport #132964 to 26.11: Fix high memory usage of text index materialization on packed or compact parts
Resolve conflicts of the cherry-pick of #132964 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve conflicts of the cherry-pick of #132964 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve conflicts of the cherry-pick of #132964 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cherry pick #132964 to 26.8: Fix high memory usage of text index materialization on packed or compact parts
…lization on packed or compact parts
Cherry pick #132964 to 26.9: Fix high memory usage of text index materialization on packed or compact parts
…lization on packed or compact parts
Cherry pick #132964 to 26.10: Fix high memory usage of text index materialization on packed or compact parts
…alization on packed or compact parts
…alization on packed or compact parts
…lization on packed or compact parts
…lization on packed or compact parts
Backport #132964 to 26.10: Fix high memory usage of text index materialization on packed or compact parts
Backport #132964 to 26.9: Fix high memory usage of text index materialization on packed or compact parts
MATERIALIZE INDEXof a text index on apackedorcompactpart kept the whole index in memory and ignored the settingtext_index_max_memory_usage_before_flushvalue.It now flushes the index in segments, as other mutations and merges do.
Fixes #132706.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix high memory usage of
MATERIALIZE INDEXfor text indexes onpackedorcompactparts.Workflow [PR]
Sync PR [sync-upstream/pr/132964]
Version info
26.12.1.266-master(included in26.12and later)26.11.1.2931,26.10.13.5,26.9.39.5