Repository navigation
Fix 02995_new_settings_history on the 26.7 branch - #116868
Merged
Merged
Conversation
The test compares `system.settings` / `system.merge_tree_settings` against baselines captured from a *pre-release* of 26.6, and required every setting missing from the baselines to have a `SettingsChangesHistory.cpp` entry with a version strictly greater than `26.6`. That is too strict for a setting introduced later in the 26.6 series. The `MergeTree` setting `text_index_serialization_version` was added to the 26.6 branch by the backport of #111803, i.e. after the v26.6.1 pre-release the baselines were generated from, so it is absent from `02995_merge_tree_settings_settings_26_6_1.tsv` while its history entry correctly says `26.6`. As a result the test failed deterministically for every pull request based on `26.7`: PLEASE ADD THE NEW MERGE_TREE_SETTING TO SettingsChangesHistory.cpp: text_index_serialization_version WAS ADDED Accept `26.6` in the version comparison: a setting that is absent from the baselines must carry a history entry of 26.6 or later. No strictness is lost - settings that were already present in the baselines never reach this predicate. On `master` the test does not exist anymore, it was replaced by `03999_stateless_settings_history` in #111605, so this fix is only needed on the release branch.
Contributor
|
Workflow [BackportPR], commit [f822369] Summary: ❌
|
This was referenced Aug 28, 2026
Merged
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.
02995_new_settings_historyfails deterministically for every pull request based on26.7:The test compares
system.settings/system.merge_tree_settingsagainst baselines captured from a pre-release of 26.6, and required every setting missing from the baselines to have aSettingsChangesHistory.cppentry with a version strictly greater than26.6.That is too strict for a setting introduced later in the 26.6 series. The
MergeTreesettingtext_index_serialization_versionwas added to the26.6branch by the backport of #111803, i.e. after the v26.6.1 pre-release the baselines were generated from, so it is absent from02995_merge_tree_settings_settings_26_6_1.tsvwhile its history entry correctly says26.6.This accepts
26.6in the version comparison: a setting that is absent from the baselines must carry a history entry of 26.6 or later. No strictness is lost, because settings that were already present in the baselines never reach this predicate.On
masterthe test no longer exists - it was replaced by03999_stateless_settings_historyin #111605 - so this fix is only needed on the release branch.Example of the failure (one of many): https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=116466&sha=ce1b461c7587e671c8e4756ba87c66910efa5539&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%29
Related: #116466
Related: #111605
Changelog category (leave one):
Version info
26.7.6.21