Repository navigation
Randomize text index posting list apply mode - #108814
Merged
Merged
Conversation
Rename the setting `text_index_density_threshold` to `text_index_lazy_intersection_density_threshold` to reflect that it only selects the intersection algorithm (leapfrog vs brute-force) in lazy posting list apply mode, rather than being a general text-index knob. The old name is kept as an alias for backward compatibility, and the rename is recorded in the 26.7 block of `SettingsChangesHistory`. Randomize `text_index_posting_list_apply_mode` and `text_index_lazy_intersection_density_threshold` in `clickhouse-test`. Because lazy apply mode is experimental and otherwise throws `SUPPORT_IS_DISABLED`, enable `allow_experimental_text_index_lazy_apply` in the stateless-test `default` profile (new `tests/config/users.d/text_index_lazy_apply.xml`, wired in `install.sh` and guarded for servers older than 26.6). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [2a5c97c] Summary: ❌
AI ReviewSummaryThis PR makes Final VerdictStatus: ✅ Approve |
The lazy posting list apply mode for the text index (`text_index_posting_list_apply_mode = 'lazy'`) is no longer experimental. Remove the `allow_experimental_text_index_lazy_apply` gate from `MergeTreeReaderTextIndex` so lazy mode is selected purely via `text_index_posting_list_apply_mode`, and make the setting obsolete via `MAKE_OBSOLETE` (still accepted as a no-op for backward compatibility). The default flip (`false` -> `true`) is recorded in the 26.7 block of `SettingsChangesHistory`. Drop the now-redundant references to the setting from `enableAllExperimentalSettings` and the BuzzHouse session settings, and remove the stateless-test `text_index_lazy_apply.xml` profile (and its `install.sh` wiring) that only existed to open the experimental gate. Add `04489_text_index_lazy_apply_non_experimental`, verifying that lazy mode works without the flag and that the obsolete setting is still accepted as a no-op. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 43/44 (97.73%) · Uncovered code |
Merged
via the queue into
ClickHouse:master
with commit Jul 1, 2026
c8fdfef
172 of 174 checks passed
1 task
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
…setting Randomize text index posting list apply mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The text index lazy posting-list apply mode is no longer experimental and can be selected with
text_index_posting_list_apply_mode = 'lazy'withoutallow_experimental_text_index_lazy_apply. The density-threshold setting was renamed fromtext_index_density_thresholdtotext_index_lazy_intersection_density_threshold.Version info
26.7.1.342(included in26.7and later)