Skip to content

Promote adaptive codec selection to Beta - #130321

Merged
rienath merged 2 commits into
masterfrom
ac-beta
Nov 10, 2026
Merged

rienath merged 2 commits into
masterfrom
ac-beta

Conversation

@rienath

@rienath rienath commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

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

Promote adaptive codec selection to Beta. It is still enabled per table with the enable_adaptive_codec_selection setting, and the sampling period is still controlled by adaptive_codec_selection_period.


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

Version info

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

@clickhouse-gh

clickhouse-gh Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [156c921]

Summary: ✅


AI Review

Summary

Reviewed PR #130321 at 156c921054c9ee3857059f139f3dc3bd7d6db92f, including the current code, diff, and prior discussion. The PR promotes enable_adaptive_codec_selection and adaptive_codec_selection_period to Beta, updates the documentation badge, and adds a compile-time check allowing at most one specialized codec per type. No actionable findings. The head's Fast test report passes the new tier test and 15 existing adaptive-codec tests; encryption coverage is skipped in that job. No local tests were run.

Final Verdict

Status: ✅ Approve. No required changes.

@clickhouse-gh clickhouse-gh Bot added pr-improvement Pull request with some product improvements comp-codecs Compression/encoding codecs (LZ4/ZSTD/etc.), archive formats (tar/zip/7z), codec selection and IO... labels Nov 9, 2026
@Michicosun Michicosun self-assigned this Nov 9, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 156c92105 with master 4ce893869 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

222 translation units recompiled, 186 s compile time in total, 220 of them have a recent master baseline.

Job report

@rienath
rienath added this pull request to the merge queue Nov 9, 2026
Merged via the queue into master with commit dee1e8c Nov 10, 2026
192 checks passed
@rienath
rienath deleted the ac-beta branch November 10, 2026 00:31
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-codecs Compression/encoding codecs (LZ4/ZSTD/etc.), archive formats (tar/zip/7z), codec selection and IO... pr-improvement Pull request with some product improvements 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