Skip to content

Pin enable_parallel_single_level_merge in 03634_autopr_output_bytes_estimation - #131358

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix-03634-parallel-single-level-merge
Nov 13, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix-03634-parallel-single-level-merge

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Since #129565 (master 414302af3c9b, 2026-11-13) 03634_autopr_output_bytes_estimation fails intermittently on master and in PRs (17 failures in 6 hours, none before): the query_10 output estimate of the uniqExact states falls to 91509..136213 against the expected 362202, in every failing run with the randomized enable_parallel_single_level_merge = 1. The merge by hash partitions now packs the partitions a worker claims into one table, and the estimate follows how the workers raced for them.

The test already pins the other settings that decide the shape of the merged tables (enable_adaptive_aggregator, the two-level thresholds, max_threads), so pin this one as well. The estimate under the default merge is tracked in the issue.

Example report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=12d028ce436f528850e5c8b021e5a28e52b8cd2c&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_release%2C%20parallel%2C%202%2F2%29

Related: #131357
Related: #129565

Changelog category (leave one):

  • CI Fix or improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

...

🤖 Generated with Claude Code


Workflow [PR]
Sync PR [sync-upstream/pr/131358]

Version info

  • Merged into: 26.11.1.2246-master (included in 26.11 and later)

…s_estimation`

Since #129565 the merge by hash partitions packs the partitions a worker
claims into one table, and the `query_10` estimate randomly fell 2.7x..4x
below the expected value in every run with the randomized
`enable_parallel_single_level_merge = 1`.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=12d028ce436f528850e5c8b021e5a28e52b8cd2c&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_release%2C%20parallel%2C%202%2F2%29

Related: #131357

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [942274b]

Summary: ✅


AI Review

Summary

PR #131358, head 942274bec995b6e2b09e4a858b9b09e3dd3d7e3c, sets enable_parallel_single_level_merge = 0 in 03634_autopr_output_bytes_estimation to remove partition-merge sampling variation. This is a narrowly scoped test stabilization; the estimator behavior with parallel merging remains tracked in issue #131357. No actionable findings.

Missing context / blind spots
  • ⚠️ The affected test was skipped in the PR's Fast test report, and no local execution was performed. Repeated runs with the stateful CI dataset would confirm stabilization under the previously failing conditions.
Final Verdict

Status: ✅ Approve.

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Nov 13, 2026
@rienath rienath self-assigned this Nov 13, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-testing Test content only (no production code). label Nov 13, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Nov 13, 2026
Merged via the queue into master with commit e1ef3a9 Nov 13, 2026
208 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-03634-parallel-single-level-merge branch November 13, 2026 21:11
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 13, 2026
@clickhouse-gh clickhouse-gh Bot added comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). and removed comp-testing Test content only (no production code). labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-parallel-replicas Parallel reading from replicas for query speed (not data replication consistency). pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants