Skip to content

Bump CRoaring to v5.2.3 - #124043

Merged
ahmadov merged 2 commits into
masterfrom
ahmadov/bump-croaring
Oct 8, 2026
Merged

ahmadov merged 2 commits into
masterfrom
ahmadov/bump-croaring

Conversation

@ahmadov

@ahmadov ahmadov commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Exposes internal_validate() on the C++ RoaringBitmap wrappers (RoaringBitmap/CRoaring#890) so ClickHouse can reject malformed bitmaps, since RoaringBitmap does not validate structure on read.

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

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

CRoaring v5.2.3 exposes internal_validate() on the C++ RoaringBitmap wrappers, so RoaringBitmap data can be validated.


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

Version info

  • Merged into: 26.10.1.1791-master (included in 26.10 and later)
  • Backported to: 26.9.13.19, 26.8.22.4, 26.7.28.3, 26.3.47.6

@ahmadov
ahmadov requested a review from thevar1able October 5, 2026 15:04
@clickhouse-gh

clickhouse-gh Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a602b4b]

Summary: ❌

job_name test_name status info comment
Stateless tests (arm_asan_ubsan, azure, sequential) ERROR

AI Review

Summary

This PR is a pure submodule bump of CRoaring from v5.2.2 to v5.2.3. I reviewed the ClickHouse-side diff and the upstream CRoaring delta in the bumped range, including the new C++ internal_validate wrapper exposure, the readSafe-adjacent fixes, the ARM ISA-detection changes, and the roaring64 runtime fixes. I did not find a ClickHouse integration or compatibility issue in the bump itself.

Missing context / blind spots
  • ⚠️ Full ClickHouse CI was still pending at review time, so this verdict is based on code inspection of the vendored upstream delta rather than a completed build matrix.
Final Verdict
  • Status: ✅ Approve

LLVM Coverage Report

⚠️ No coverage measurement for commit a602b4b: incomplete coverage measurement: 1 of 21 shard profiles are missing: LLVM_COVERAGE_FILE_it_8.profdata.

@clickhouse-gh clickhouse-gh Bot added pr-not-for-changelog This PR should not be mentioned in the changelog submodule changed At least one submodule changed in this PR. labels Oct 5, 2026
@ahmadov
ahmadov added this pull request to stack #124050 October 5, 2026 15:34
@thevar1able thevar1able self-assigned this Oct 5, 2026
@thevar1able

Copy link
Copy Markdown
Member

Please change category to "Build/Testing/Packaging Improvement" and add a changelog entry.

@clickhouse-gh clickhouse-gh Bot added the comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. label Oct 5, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing a602b4baa with master 54ff83b1b (stripped binary size, per-symbol sizes and ThinLTO time; object sizes against the warmup build of 321b9ccdd; 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

94 translation units recompiled, 818 s compile time in total, 94 of them have a recent master baseline.

Job report

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement and removed pr-not-for-changelog This PR should not be mentioned in the changelog labels Oct 7, 2026
@ahmadov ahmadov added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Oct 7, 2026
@ahmadov
ahmadov added this pull request to the merge queue Oct 7, 2026
@ahmadov
ahmadov removed this pull request from the merge queue due to a manual request Oct 7, 2026
@ahmadov
ahmadov added this pull request to the merge queue Oct 7, 2026
Merged via the queue into master with commit 8cf1129 Oct 8, 2026
300 of 301 checks passed
@ahmadov
ahmadov deleted the ahmadov/bump-croaring branch October 8, 2026 00:14
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 8, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Oct 8, 2026
thevar1able added a commit that referenced this pull request Oct 8, 2026
Resolves the conflict in the automated cherry-pick of
#124043 to 26.7.

The release branch is on `CRoaring` v5.1.1 and skipped the intermediate
v5.2.0 and v5.2.2 bumps. v5.2.2 renamed the inline-asm helper macros in
`utilasm.h` from `ASM_*` to `CROARING_ASM_*`, so
`AggregateFunctionGroupNumericIndexedVectorDataBSI.h` follows the rename.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
thevar1able added a commit that referenced this pull request Oct 8, 2026
Resolves the conflict in the automated cherry-pick of
#124043 to 26.9.

The release branch is on `CRoaring` v5.1.1 and skipped the intermediate
v5.2.0 and v5.2.2 bumps. v5.2.2 renamed the inline-asm helper macros in
`utilasm.h` from `ASM_*` to `CROARING_ASM_*`, so
`AggregateFunctionGroupNumericIndexedVectorDataBSI.h` follows the rename.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
thevar1able added a commit that referenced this pull request Oct 8, 2026
Resolves the conflict in the automated cherry-pick of
#124043 to 26.8.

The release branch is on `CRoaring` v5.1.1 and skipped the intermediate
v5.2.0 and v5.2.2 bumps. v5.2.2 renamed the inline-asm helper macros in
`utilasm.h` from `ASM_*` to `CROARING_ASM_*`, so
`AggregateFunctionGroupNumericIndexedVectorDataBSI.h` follows the rename.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
thevar1able added a commit that referenced this pull request Oct 8, 2026
Resolves the conflict in the automated cherry-pick of
#124043 to 26.3.

The release branch is on `CRoaring` v5.1.1 and skipped the intermediate
v5.2.0 and v5.2.2 bumps. v5.2.2 renamed the inline-asm helper macros in
`utilasm.h` from `ASM_*` to `CROARING_ASM_*`, so
`AggregateFunctionGroupNumericIndexedVectorDataBSI.h` follows the rename.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
Cherry pick #124043 to 26.7: Bump `CRoaring` to v5.2.3
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
Cherry pick #124043 to 26.8: Bump `CRoaring` to v5.2.3
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
Cherry pick #124043 to 26.9: Bump `CRoaring` to v5.2.3
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
Cherry pick #124043 to 26.3: Bump `CRoaring` to v5.2.3
robot-clickhouse added a commit that referenced this pull request Oct 8, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 8, 2026
clickhouse-gh Bot added a commit that referenced this pull request Oct 8, 2026
Backport #124043 to 26.9: Bump `CRoaring` to v5.2.3
clickhouse-gh Bot added a commit that referenced this pull request Oct 8, 2026
Backport #124043 to 26.8: Bump `CRoaring` to v5.2.3
alexey-milovidov added a commit that referenced this pull request Oct 9, 2026
Backport #124043 to 26.3: Bump `CRoaring` to v5.2.3
CurtizJ added a commit that referenced this pull request Oct 11, 2026
Backport #124043 to 26.7: Bump `CRoaring` to v5.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-build Pull request with build/testing/packaging improvement pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants