Skip to content

Backport #109170 to 26.3: Fix parallel_view_processing setting being ignored for MV fan-out - #117458

Merged
antonio2368 merged 4 commits into
26.3from
backport/26.3/109170
Sep 2, 2026
Merged

antonio2368 merged 4 commits into
26.3from
backport/26.3/109170

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #109170
Cherry-pick pull-request #116983

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.3.29.8

@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Sep 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [841b9bf]

Summary: ✅

Reflect serial materialized-view processing when `parallel_view_processing` is disabled and make `01275_parallel_mv` check saturation instead of scheduler-dependent thread counts.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=117458&sha=latest&name_0=BackportPR
PR: #117458
Use explicit `max_insert_threads=1` instead of automatic `0` in the query-log test. This retains the single-thread case and avoids the automatic setting that may use all available threads.

Matches upstream commit `7379221ea3f`.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=117458&sha=0a9aecaf7ead0c179a87a6cf67d47ff54762be76&name_0=BackportPR
The 26.3 pipeline executor allocates the full `max_threads` allowance eagerly. Update the query-log reference so every `parallel_view_processing=1` case is expected to saturate, including `max_insert_threads=1`.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=117458&sha=fab1ea6806c6268fc211dd60f15fde04bcfa50a2&name_0=BackportPR
@antonio2368
antonio2368 merged commit 88cce99 into 26.3 Sep 2, 2026
34 checks passed
@antonio2368
antonio2368 deleted the backport/26.3/109170 branch September 2, 2026 10:00
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
OTHER: parallel_view_processing=0 ignored -> behaviour.
Effect in the production build a394e92: its upstream test(s) 04490_parallel_view_processing_values fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv).
Upstream patch unchanged, with its test(s): 04490_parallel_view_processing_values.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants