Skip to content

Deprecate the cloud_mode_database_engine setting - #107372

Merged
evillique merged 4 commits into
ClickHouse:masterfrom
evillique:deprecate-cloud-mode-database-engine
Jul 20, 2026
Merged

evillique merged 4 commits into
ClickHouse:masterfrom
evillique:deprecate-cloud-mode-database-engine

Conversation

@evillique

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

...

@clickhouse-gh

clickhouse-gh Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [11585ce]

Summary: ✅


AI Review

Summary

This PR moves cloud_mode_database_engine from active session settings to the obsolete settings list, records the 26.6 compatibility-history no-op, and removes the setting from BuzzHouse random session settings. I did not find a correctness or compatibility issue in the public diff: the setting remains accepted as an obsolete UInt64, keeps its previous default value 1, and no OSS code still consumes it.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jun 12, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

📊 Cloud Performance Report

✅ AI verdict: no_change — no significant changes across 37 queries analysed

This PR obsoletes the cloud_mode_database_engine setting and reworks CREATE DATABASE engine selection; it does not touch the SELECT execution path that ClickBench Q4/Q11/Q15/Q23 exercise. The Q11 (-20.7%) and Q23 (x2.2 faster) improvements are downgraded to not-sure - both sit on noisy baselines and cannot be explained by a DDL-only change. Q4 and Q15 were correctly held within the baseline envelope: their CPU time is flat, confirming the wall-clock moves are co-location variance rather than real work reduction. No performance action is warranted from this PR.

clickbench

⚠️ 2 inconclusive

Flagged queries (2 of 43)
Query Verdict Baseline median (ms) PR median (ms) Change q-value Hint
⚠️ 11 not_sure 226 179 -20.7% <0.0001 The PR only obsoletes the cloud_mode_database_engine CREATE DATABASE setting, a path this SELECT never runs; with noisy history the -20.7% is variance, not a PR effect.
⚠️ 23 not_sure 166 77 ×2.2 faster <0.0001 The PR changes only CREATE DATABASE settings routing, untouched by this SELECT, and the baseline was extremely noisy, so the x2.2 faster reading is a benchmark artifact, not this change.

Change = percent below ×2; the ratio of medians (×N faster/slower) beyond, where percent understates the scale. q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on.

tpch_adapted_1_official

🟢 No significant changes

Debug info
  • StressHouse run: 91b4620b-b18a-47a2-a699-402b10165de6
  • MIRAI run: 43a452d9-8c6b-4880-a305-32cff4182e51
  • PR check IDs:
    • clickbench_465662_1784569392
    • clickbench_465676_1784569392
    • clickbench_465682_1784569392
    • tpch_adapted_1_official_465688_1784569392
    • tpch_adapted_1_official_465699_1784569392
    • tpch_adapted_1_official_465732_1784569392

@thevar1able thevar1able self-assigned this Jun 16, 2026
@evillique
evillique enabled auto-merge June 16, 2026 17:53
@evillique
evillique disabled auto-merge June 16, 2026 21:07
@evillique
evillique enabled auto-merge June 16, 2026 21:07
@clickhouse-gh

clickhouse-gh Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 85.20% 85.20% +0.00%
Functions 92.30% 92.30% +0.00%
Branches 77.40% 77.40% +0.00%

Changed lines: Changed C/C++ lines covered by tests: 14/14 (100.00%) | Lost baseline coverage: none · Uncovered code

Full report · Diff report

@clickhouse-gh

clickhouse-gh Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Dear @thevar1able, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@evillique
evillique added this pull request to the merge queue Jul 20, 2026
Merged via the queue into ClickHouse:master with commit ad71d95 Jul 20, 2026
166 checks passed
@evillique
evillique deleted the deprecate-cloud-mode-database-engine branch July 20, 2026 21:36
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 20, 2026
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…ode-database-engine

Deprecate the cloud_mode_database_engine setting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

4 participants