Skip to content

Enable Sainte-Lague Distribution by Default - #113442

Merged
Michicosun merged 1 commit into
masterfrom
enable_sainte_lague
Aug 6, 2026
Merged

Michicosun merged 1 commit into
masterfrom
enable_sainte_lague

Conversation

@Michicosun

@Michicosun Michicosun commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Version info

  • Merged into: 26.8.1.885 (included in 26.8 and later)

@clickhouse-gh

clickhouse-gh Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [947caf4]

Summary: ❌

job_name test_name status info comment
Stress test (amd_asan_ubsan) FAIL
Hung check failed, possible deadlock found FAIL cidb
Upgrade check (amd_release) FAIL
Error message in clickhouse-server.log (see upgrade_error_messages.txt) FAIL cidb
Stateless tests (amd_msan, WasmEdge, parallel, 2/2) ERROR

AI Review

Summary

This PR exposes sainte_lague as a public MergeTree setting value and flips shared_merge_tree_merge_coordinator_distribution_algorithm to use it by default, with the matching MergeTree settings-history entry for compatibility. I did not find a correctness issue in the public diff.

Missing context / blind spots
  • ⚠️ The OSS checkout has no reader of shared_merge_tree_merge_coordinator_distribution_algorithm, so I could only validate the enum/default/history plumbing and not the actual coordinator behavior behind making sainte_lague the default.
  • ⚠️ The PR body does not explain why the default is changing or what workloads it improves, so there is no in-PR evidence to validate the operational upside of the rollout.
Final Verdict

✅ No actionable issues found in the public diff. The change looks mechanically correct, but the actual scheduler behavior remains outside what this checkout lets me verify.

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.50% 86.50% +0.00%
Functions 91.90% 91.90% +0.00%
Branches 78.80% 78.70% -0.10%

Changed lines: Changed C/C++ lines covered: 14/14 (100.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 5, 2026
@Michicosun
Michicosun enabled auto-merge August 5, 2026 08:46
@rienath rienath self-assigned this Aug 5, 2026
@Michicosun
Michicosun added this pull request to the merge queue Aug 6, 2026
Merged via the queue into master with commit 1a1879e Aug 6, 2026
176 of 180 checks passed
@Michicosun
Michicosun deleted the enable_sainte_lague branch August 6, 2026 08:46
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 6, 2026
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.

3 participants