Skip to content

Cherry pick #111278 to 26.3: Bump contrib/thrift to Apache Thrift v0.24.0 - #112610

Merged
robot-ch-test-poll4 merged 4 commits into
backport/26.3/111278from
cherrypick/26.3/111278
Aug 3, 2026
Merged

robot-ch-test-poll4 merged 4 commits into
backport/26.3/111278from
cherrypick/26.3/111278

Conversation

@robot-ch-test-poll

Copy link
Copy Markdown
Contributor

Original pull-request #111278

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

groeneai and others added 3 commits July 21, 2026 19:16
Point contrib/thrift at the ClickHouse/thrift ClickHouse/v0.24.0 branch
(13d30d6a): Apache Thrift v0.24.0 with the ClickHouse patch f95a731b
("Don't use locale in to_string") cherry-picked.

v0.24.0 includes Apache commit 983c813c, which widens the compact-protocol
container-size prechecks to int64 (static_cast<int64_t>(size_) * elemSize),
fixing a signed-integer overflow on wire-controlled sizes. This is the
upstream fix for UBSan finding STID 3543-4a91, superseding the ubsan_ignorelist
approach from #111186 (closed) as suggested by @pamarcos.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Bump contrib/thrift to Apache Thrift v0.24.0
@robot-ch-test-poll robot-ch-test-poll added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request labels Jul 30, 2026
@robot-clickhouse

Copy link
Copy Markdown
Member

Dear @thevar1able, this cherry-pick PR has not been updated for 3d0h25m15s. Please resolve the conflicts to backport #111278, or close this PR if the backport is no longer needed. This PR will be automatically closed after 7 days of inactivity.

Resolve the `contrib/thrift` submodule conflict: `26.3` carries the
`ClickHouse/0.16.0` lineage (`327ed534`), so take the bump target
`ClickHouse/v0.24.0` (`13d30d6a`) from the cherry-picked change.
`contrib/thrift-cmake` is identical on `26.3` and `master`, and the
earlier `0.16.0` -> `v0.22.0` -> `v0.23.0` bumps needed no CMake
changes, so no further adaptation is required.

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

Labels

do not test disable testing on pull request pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants