Repository navigation
Stable 24.8 Backport of #91980 - Force mutation to recalculate indices when rewriting compact parts - #2886
Conversation
Force mutation to recalculate indices when rewriting compact parts Conflicts committed as-is; the next commit resolves them: - src/Storages/MergeTree/MutateTask.cpp (both modified)
Kept only the core fix, `need_recalculate` using `is_full_wide_part`; dropped the master-only TTL-optimization and extra-columns pieces.
|
Port-AL: cherry-pick conflicts resolved by AI Conflicted files:
Commits:
|
|
This is an automated comment for commit ea8d966 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
CI triage for 5b85f47Summary: 6 distinct failures. 2 are caused by this PR, 4 are not (2 infra, 1 known flaky, 1 pre-existing/process).
1. 🔴
|
|
@blau-ai fix the fails caused by this PR |
… input Conflict resolution dropped extra_columns_for_indices_and_projections: MATERIALIZE INDEX/PROJECTION on compact parts must read (and thus materialize) columns missing from the part, otherwise the later forced index recalculation fails with NOT_FOUND_COLUMN_IN_BLOCK (02763). 24.8 clickhouse-client does not auto-decompress stdin, so decompress the zstd test data explicitly in 03755.
|
I pushed a fix to this PR's branch: ea8d966. Two stateless tests fail because of this PR. I fixed both. The other red checks don't look related. 1.
|
CI triage for ea8d966Verdict: 3 failing checks. None are caused by this PR (2 infra/flaky, 1 process/DCO). The
1. DockerKeeperImage / Docker keeper image (infra)
2. Regression release s3_aws_s3_2 (flaky, harness timeout)The only non-xfail error: Why I don't attribute this to the PR:
I didn't re-run it locally. The evidence is the log above. Next step: re-run the job. If 3. DCO (process)None of the 3 commits has a Bottom line: CI shows no regression from the code change. Builds, stateless/integration tests and all other regression suites are green. Re-running the two failed jobs should be enough to turn this green. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix "TOO_MANY_MARKS" error which could have happened after some
ALTERqueries for compact parts. (ClickHouse#91980 by @alesapin)Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: