Skip to content

Stable 24.8 Backport of #91980 - Force mutation to recalculate indices when rewriting compact parts - #2886

Merged
zvonand merged 3 commits into
releases/24.8.14from
backports/releases/24.8.14/91980
Nov 18, 2026
Merged

zvonand merged 3 commits into
releases/24.8.14from
backports/releases/24.8.14/91980

Conversation

@blau-ai

@blau-ai blau-ai commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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 ALTER queries for compact parts. (ClickHouse#91980 by @alesapin)

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

alesapin and others added 2 commits November 17, 2026 11:52
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.
@blau-ai

blau-ai commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

Port-AL: cherry-pick conflicts resolved by AI

Conflicted files:

  • src/Storages/MergeTree/MutateTask.cpp (both modified)

Commits:

  • f3af936: cherry-pick with the conflicts committed as-is

  • 5b85f47: resolution

  • Conflicts were in splitAndModifyMutationCommands and in the skip-index loop of the mutation's index recalculation code. Both sides had touched the same lines, and 24.8 lacks code the PR's context relies on.

  • The core fix (is_full_wide_part in need_recalculate, with its comment) had already merged cleanly. I kept it as is.

  • I removed the conflict blocks that reference symbols missing on 24.8: suitable_for_ttl_optimization, ignored_columns and ctx->indices_to_drop_names. I also dropped the extra_columns_for_indices_and_projections additions, which appear to be a separate change not needed for the fix. Without that code, 24.8 would not have compiled.

  • The new test 03755_ttl_materialize_bug and its data file merged without conflict. I didn't check that it still passes without the dropped extra-columns logic.

@altinity-robot

altinity-robot commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

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

Check nameDescriptionStatus
Docker keeper imageThe check to build and optionally push the mentioned image to docker hub❌ failure
Successful checks
Check nameDescriptionStatus
AST fuzzerRuns randomly generated queries to catch program errors. The build type is optionally given in parenthesis. If it fails, ask a maintainer for help✅ success
BuildsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Compatibility checkChecks that clickhouse binary runs on distributions with old libc versions. If it fails, ask a maintainer for help✅ success
Docker server imageThe check to build and optionally push the mentioned image to docker hub✅ success
Install packagesChecks that the built packages are installable in a clear environment✅ success
Integration testsThe integration tests report. In parenthesis the package type is given, and in square brackets are the optional part/total tests✅ success
Ready for releaseThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release aes_encryptionThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release aggregate_functions_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release aggregate_functions_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release aggregate_functions_3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release alter_attach_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release alter_moveThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release alter_replaceThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release atomic_insertThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release base_58There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release benchmark_aws_s3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release benchmark_gcsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release benchmark_minioThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release clickhouse_keeper_failoverThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release clickhouse_keeper_no_ssl_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release clickhouse_keeper_no_ssl_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release clickhouse_keeper_ssl_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release clickhouse_keeper_ssl_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release data_typesThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release datetime64_extended_rangeThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release dnsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release enginesThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release exampleThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release extended_precision_data_typesThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release functionsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release iceberg_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release iceberg_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release jwt_authenticationThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release kafkaThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release kerberosThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release key_valueThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ldap_authenticationThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ldap_external_user_directoryThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ldap_role_mappingThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release lightweight_deleteThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release memoryThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release parquetThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release parquet_aws_s3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release parquet_minioThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release part_moves_between_shardsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release rbac_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release rbac_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release rbac_3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_aws_s3_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_azure_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_azure_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_export_partThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_export_partitionThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_gcs_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_gcs_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_minio_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_minio_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release s3_minio_3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release selectsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release session_timezoneThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release settingsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ssl_server_1There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ssl_server_2There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release ssl_server_3There's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release swarmsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release versionThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Regression release window_functionsThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Sign releaseThere's no description for the check yet, please add it to tests/ci/ci_config.py:CHECK_DESCRIPTIONS✅ success
Stateful testsRuns stateful functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stateless testsRuns stateless functional tests for ClickHouse binaries built in various configurations -- release, debug, with sanitizers, etc✅ success
Stress testRuns stateless functional tests concurrently from several clients to detect concurrency-related errors✅ success

@zvonand

zvonand commented Nov 17, 2026

Copy link
Copy Markdown
Member

@blau-ai

@blau-ai

blau-ai commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

CI triage for 5b85f47

Summary: 6 distinct failures. 2 are caused by this PR, 4 are not (2 infra, 1 known flaky, 1 pre-existing/process).

Failure Where Verdict
03755_ttl_materialize_bug stateless release, debug 1/2, asan 1/2, ubsan 1/2 🔴 PR-caused: the new test can't run on 24.8
02763_mutate_compact_part_with_skip_indices_and_projections stateless debug 2/2, asan 2/2 🔴 PR-caused: real regression, the backport is incomplete
test_storage_s3_queue/test.py::test_shards_distributed[unordered-8] Integration (release) 2/6 🟡 known flaky, not related
Regression s3_aws_s3_1, ssl_server_3 RegressionTestsRelease ⚪ infra
02354_vector_search_queries NOT_FAILED every stateless job ⚪ pre-existing on base
DCO ⚪ pre-existing for bot backports (also red on #2883)

1. 🔴 03755_ttl_materialize_bug: the test feeds raw zstd bytes to the client

Code: 117. DB::Exception: The number of data types differs from the number of column names in input data: (while reading header)
(in file/uri (fd = 0)) ... (INCORRECT_DATA)
(query: insert into index_corruption FORMAT TSVWithNamesAndTypes)

The test does clickhouse-client -q 'insert ... FORMAT TSVWithNamesAndTypes' < data_zstd/test_03755.tsv.zst. Newer upstream clients detect compressed stdin. The 24.8 client doesn't (ClientBase.cpp only picks a compression method for output files), so it parses the compressed bytes as the TSV header. It fails the same way in every build type, so it isn't flaky.

Fix (test only; zstd is installed in docker/test/stateless/Dockerfile):

zstd -dc "$CURDIR"/data_zstd/test_03755.tsv.zst | ${CLICKHOUSE_CLIENT} -q 'insert into index_corruption FORMAT TSVWithNamesAndTypes'

INSERT INTO index_corruption FROM INFILE '…tsv.zst' COMPRESSION 'zstd' FORMAT TSVWithNamesAndTypes should also work.

2. 🔴 02763_mutate_compact_part_with_skip_indices_and_projections: regression from the partial backport

Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20261117_1_1_0_2'
reason: 'Code: 10. DB::Exception: Not found column col2: in block col1 Int64 Int64(size = 0), dt Date UInt16(size = 0). (NOT_FOUND_COLUMN_IN_BLOCK)

How it happens: the test creates a compact part with (col1, dt), then runs ADD COLUMN col2, ADD INDEX i1 (col1, col2), MATERIALIZE INDEX i1 and DROP COLUMN col3. With this PR, any rewrite of a compact part now rebuilds every skip index (!is_full_wide_part → need_recalculate). So the DROP COLUMN mutation rebuilds i1, but col2 was never written to the part, so it isn't in the block.

Root cause: the backport has only the MutateAllPartColumnsTask hunk of upstream ClickHouse#91980. Upstream the PR also changes splitAndModifyMutationCommands (commit 4be6689 "better", inside ClickHouse#91980). Compare git diff 1a6de6f7d4f^1 1a6de6f7d4f -- src/Storages/MergeTree/MutateTask.cpp: upstream is +64 lines, this PR is +5. The missing part:

  • adds NameSet extra_columns_for_indices_and_projections;
  • for MATERIALIZE_INDEX / MATERIALIZE_PROJECTION on a compact (or packed) part, collects the index/projection's required columns that the part lacks (!part_columns.has(column));
  • after the column loop, pushes READ_COLUMN commands for them, with data_type taken from metadata_snapshot->getColumns().getColumn(GetColumnsOptions::AllPhysical, name).type and skipping _part_offset and columns already in mutated_columns.

With that change, MATERIALIZE INDEX i1 writes col2 (with default values) into the compact part, so later rewrites can recompute the index.

Fix: port the two missing splitAndModifyMutationCommands hunks into src/Storages/MergeTree/MutateTask.cpp (they apply to 24.8's version of the function, after the MATERIALIZE_*/DELETE/UPDATE branch and after the per-column loop). 24.8 already has MutationCommand::data_type. One caveat: parts already on disk that took the old path (index materialized without the column) could still hit this error on their next rewrite. Upstream has the same behaviour, so it isn't something this backport adds, but it's worth knowing.

3. 🟡 Integration (release) 2/6: test_storage_s3_queue/test.py::test_shards_distributed[unordered-8]

This is S3Queue sharding and doesn't touch the mutation code. The test has been reported flaky upstream several times (ClickHouse#59830, ClickHouse#86406, ClickHouse#91391). Safe to re-run.

4. ⚪ Regression s3_aws_s3_1 / ssl_server_3: infra

Both errored within about 100 ms, before any test ran:

RuntimeError: could not read a version from `docker-compose --log-level ERROR version --short`:
"/usr/local/bin/docker-compose: line 1: `<!DOCTYPE html>'"

The runner downloaded an HTML page in place of the docker-compose binary. Re-run.

5. ⚪ 02354_vector_search_queries: NOT_FAILED ("This test passed. Update analyzer_tech_debt.txt.")

The same NOT_FAILED appears in the stateless report of #2883 (same base), so it's pre-existing on releases/24.8.14. It doesn't change the verdict here, because each failing stateless job also has one of the real failures above.

6. ⚪ DCO

The backport commits have no Signed-off-by. #2883 on the same base is also red on DCO, so this is how the backport bot works, not something this PR introduced.


Next step: fix #1 (test) and #2 (finish porting splitAndModifyMutationCommands from ClickHouse#91980), then re-run CI. #3 and #4 should go green on a re-run. I can push both fixes to this branch if you want; just ask.

@zvonand

zvonand commented Nov 17, 2026

Copy link
Copy Markdown
Member

@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.
@blau-ai

blau-ai commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

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. 02763_mutate_compact_part_with_skip_indices_and_projections: a code fix (failed in debug [2/2] and asan [2/2])

Code: 10. DB::Exception: Not found column col2: in block col1 Int64 ..., dt Date ... (NOT_FOUND_COLUMN_IN_BLOCK)
(query: ALTER TABLE test DROP COLUMN col3;)

Root cause: when the conflicts in MutateTask.cpp were resolved (commit 5b85f47), part of upstream ClickHouse#91980 was dropped. The missing part is the extra_columns_for_indices_and_projections logic in splitAndModifyMutationCommands. Without it:

  • The PR makes every mutation of a part that is not a regular wide part recalculate its skip indices.
  • That recalculation needs col2.
  • col2 was added after the insert, and MATERIALIZE INDEX never writes it into the part. Upstream adds a READ_COLUMN for such missing columns.
  • So the later DROP COLUMN col3 mutation fails.

The test only fails when CI's random settings put the part in packed storage (min_bytes_for_full_part_storage=536870912 in the failing debug run). That's why release and ubsan passed.

Fix: I restored the dropped block exactly as upstream has it. MATERIALIZE INDEX and MATERIALIZE PROJECTION now read the columns they need that are missing from the part.

2. 03755_ttl_materialize_bug: a test fix (failed in release, debug, asan and ubsan)

Code: 117. DB::Exception: The number of data types differs from the number of column names in input data ... (INCORRECT_DATA)
(query: insert into index_corruption FORMAT TSVWithNamesAndTypes)

Root cause: the test pipes data_zstd/test_03755.tsv.zst into clickhouse-client on stdin. The client in 24.8 doesn't detect that stdin is compressed (newer upstream clients do), so it parses the raw zstd bytes as TSV.
Fix: the test now decompresses first: zstd -d < .../test_03755.tsv.zst | ${CLICKHOUSE_CLIENT} -q '... FORMAT TSVWithNamesAndTypes'. Other stateless tests already use zstd -d.

What I checked

  • Build: the builder can't build the 24.8 line yet ("cannot tell which LLVM version this commit needs"), so the C++ change is not compiled or tested locally. It is the upstream code as-is, and everything it uses is also in this branch's MutateTask.cpp.
  • Tests on this PR's CI release binary (blau-ch test --binary-url .../PRs/2886/5b85f47.../package_release/clickhouse):
    • 03755_ttl_materialize_bug with the fixed script: OK.
    • 02763... with default settings: OK. It doesn't reproduce without packed storage.
    • A copy of 02763 with SETTINGS min_bytes_for_full_part_storage = 536870912: fails with the same Not found column col2 error. This confirms the cause, but I couldn't run it against a build that includes the fix.

Other red checks (no changes made; they don't look caused by this PR)

  • 02354_vector_search_queries is NOT_FAILED ("Update analyzer_tech_debt.txt"). It's an expected-fail list entry, unrelated to mutations.
  • Integration test_storage_s3_queue/test.py::test_shards_distributed[unordered-8] is in S3Queue, unrelated to this change.
  • Regression s3_aws_s3_1 and ssl_server_3 errored within 110 ms and 58 ms, which points to setup or infrastructure problems rather than test results.
  • DCO: the backport commits aren't signed off. That's not a code problem.

CI on the new commit still has to confirm both fixes, especially the MutateTask.cpp change, which only CI will compile.

@zvonand

zvonand commented Nov 18, 2026

Copy link
Copy Markdown
Member

@blau-ai

@blau-ai

blau-ai commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

CI triage for ea8d966

Verdict: 3 failing checks. None are caused by this PR (2 infra/flaky, 1 process/DCO). The CI running gate is red only because of the two failed jobs below. Every other check passed.

Check Classification Caused by PR?
DockerKeeperImage / Docker keeper image Infra (runner's buildx driver) ❌ No
Regression release s3_aws_s3_2 Flaky test-harness timeout ❌ No (very likely)
DCO Missing Signed-off-by ❌ No (process, not code)

1. DockerKeeperImage / Docker keeper image (infra)

job log

ERROR: failed to build: unable to derive the IP value for host-gateway: host-gateway is not supported by the docker-container driver
ERROR:root:The following command failed, sleep 10 before retry: docker buildx build --push ... --add-host=host.docker.internal:host-gateway ...

docker buildx on this runner uses the docker-container driver, which doesn't support --add-host=...:host-gateway, so every retry failed before the build even started. That's a runner/CI-script problem and unrelated to the MutateTask.cpp change. The same job passed on sibling PR #2823 on this branch, which suggests it depends on which runner picks up the job.
Next step: re-run the job. If it keeps failing, CI infra should look at the buildx builder setup on the self-hosted runners.

2. Regression release s3_aws_s3_2 (flaky, harness timeout)

job log · report

The only non-xfail error:

✘ 50s 446ms [ Error  ] /s3/aws s3/part 2/orphans/full replication/detach and drop/run #3
    ExpectTimeoutError
  File ".../s3/tests/orphans.py", line 148, in detach_and_drop
    delete_replica(node=node, table_name=table_name)
  File ".../s3/tests/common.py", line 1657, in delete_replica
    r = node.query(
testflows.uexpect.uexpect.ExpectTimeoutError: Timeout 30.000s for '(bash# )|(\n)'

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 orphans/full replication/detach and drop fails again here, it's worth a closer look at clickhouse-server.log from the job artifacts.

3. DCO (process)

None of the 3 commits has a Signed-off-by trailer (f3af936cb2 is the upstream merge commit from ClickHouse#91980, plus 5b85f47671 and ea8d966da4, which are mine). Sibling backport PRs #2883 and #2816 have the same red DCO, so this is normal for backport PRs on this branch.
Next step: a maintainer can mark DCO as passed in the DCO app. Signing off would mean rewriting history with a force-push, which I won't do.


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.

@zvonand
zvonand merged commit 641a967 into releases/24.8.14 Nov 18, 2026
263 of 269 checks passed
@zvonand zvonand added the verified Approved for release label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants