Skip to content

Bump aws from 1.11.771 to 1.11.907 - #124678

Merged
alexey-milovidov merged 2 commits into
ClickHouse:masterfrom
actueleai:bump-aws-1.11.907
Oct 9, 2026
Merged

alexey-milovidov merged 2 commits into
ClickHouse:masterfrom
actueleai:bump-aws-1.11.907

Conversation

@actueleai

@actueleai actueleai commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Bump aws-sdk-cpp from 1.11.771 to 1.11.907 with the CRT chain it requires: aws-crt-cpp v0.37.4 → 0.43.8 and the aws-c-* pins of that release (aws-c-io v0.27.6, aws-c-cal v0.9.15, aws-c-auth v0.10.4, aws-c-common v0.14.5, aws-c-event-stream v0.7.1, aws-c-mqtt v0.16.1, aws-c-s3 v0.13.5, aws-c-sdkutils v0.2.9).

CVEs

CVE-2026-19642 (out-of-bounds write) and CVE-2026-19643 (out-of-bounds read) in the SDK's Base64 decoder, fixed in 1.11.862 — do not apply: in ClickHouse's build the decoder only ever received ClickHouse-generated input (re-encoded request checksums, the SSE-C key from server configuration); response checksums are compared as encoded strings. The fix is taken anyway.

ClickHouse-side changes

  • contrib/aws-cmake/CMakeLists.txt — globs for the new smithy/client, smithy/client/schema, smithy/identity, utils/local dirs; the gone utils/crypto/openssl glob dropped.
  • contrib/aws-cmake/CMakeLists.txt — tls_channel_handler.c built with BYO_CRYPTO: aws-c-io 0.27 aborts at library init without a TLS backend, and ClickHouse does TLS through Poco.
  • .gitmodules — aws-c-cal points at upstream again (the fork carried no patches).

Forks

ClickHouse/aws-sdk-cpp#40, ClickHouse/aws-crt-cpp#8, ClickHouse/aws-c-io#4.

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

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

Update aws-sdk-cpp to 1.11.907 and the AWS CRT libraries to the 0.43.8 release set.


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

Version info

  • Merged into: 26.10.1.1983-master (included in 26.10 and later)

actueleai and others added 2 commits October 8, 2026 15:08
aws-sdk-cpp 1.11.907 requires the newer AWS CRT APIs, so the whole
chain is co-bumped in one commit:

- contrib/aws -> ClickHouse/1.11.907 @ e235f91d162c (fork, ClickHouse patches rebased onto 1.11.907)
- contrib/aws-crt-cpp -> ClickHouse/0.43.8 @ fb9638dc096a (fork, 2 patches)
- contrib/aws-c-io -> ClickHouse/v0.27.6 @ ad2b310237ca (fork, 1 MSan patch)
- contrib/aws-c-cal -> upstream v0.9.15 @ 8aa2a48a09f9 (fork carries no patches; .gitmodules URL points back at awslabs)
- aws-c-auth, aws-c-common, aws-c-event-stream, aws-c-mqtt, aws-c-s3, aws-c-sdkutils -> the pins required by aws-crt-cpp 0.43.8

contrib/aws-cmake/CMakeLists.txt: add the new aws-cpp-sdk-core source
directories (smithy/client, smithy/client/schema, smithy/identity,
utils/local, utils/local/stream) and drop the removed utils/crypto/openssl
glob. The smithy/tracing/impl/opentelemetry sources are intentionally not
built: they need an external OpenTelemetry C++ SDK that ClickHouse does
not vendor, and upstream does not compile them either.

Co-Authored-By: Claude Code <[email protected]>
aws-c-io 0.27 aborts in aws_io_library_init() when no TLS backend is compiled in; ClickHouse uses Poco for TLS, so make the TLS init a no-op instead.
@thevar1able thevar1able added the can be tested Allows running workflows for external contributors label Oct 8, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [ac6dca7]

Summary: ✅


AI Review

Summary

This PR bumps aws-sdk-cpp and the required AWS CRT libraries, updates the vendoring glue for the new aws-cpp-sdk-core source layout, and works around the aws-c-io 0.27 library-init abort when ClickHouse builds without an AWS TLS backend. I reviewed the current diff, the vendored upstream layouts, and the ClickHouse call paths that actually use these libraries, and I did not find a current blocker or major regression in the reachable S3 / credentials integration.

Missing context / blind spots
  • ⚠️ I did not run a full local build of the bumped vendored AWS bundle because there is no existing build tree in this checkout; the remaining risk is platform-specific compile coverage inside the updated submodules, which the pending CI build jobs should close.
Final Verdict

✅ No blocking or major issues found in the current diff.

LLVM Coverage Report

Measured on commit ac6dca7.

Metric Baseline Current Δ
Lines 88.30% 88.30% +0.00%
Functions 92.10% 91.80% -0.30%
Branches 79.70% 79.70% +0.00%

Changed lines: Uncovered code analysis did not run: No coverable C/C++ source files changed (contrib/ is excluded from coverage).

Newly covered: +185 lines in 56 files (-142 lines lost coverage) · Details

Full report

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. labels Oct 8, 2026

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@alexey-milovidov alexey-milovidov self-assigned this Oct 9, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Oct 9, 2026
Merged via the queue into ClickHouse:master with commit 96aa052 Oct 9, 2026
152 checks passed
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 10, 2026
groeneai pushed a commit to groeneai/ClickHouse that referenced this pull request Oct 10, 2026
…1.11.907"

This reverts commit 96aa052, reversing
changes made to d3f757c.
clickhouse-gh Bot pushed a commit that referenced this pull request Oct 11, 2026
Edited by the nightly changelog CI job following .claude/skills/edit-changelog/SKILL.md.

Changelog-revert: 125030 124678 Revert "Bump `aws` from 1.11.771 to 1.11.907"
Changelog-revert: 125121 124685 Revert "Fix Parquet reads of `.null` and `.size0` subcolumns when the filter runs as PREWHERE"
Changelog-deleted-entry: 124678 [Build/Testing/Packaging Improvement] [section] * Update `aws-sdk-cpp` to 1.11.907 and the AWS CRT libraries to the 0.43.8 release set. [#124678](#124678) ([Actuele AI](https://github.com/actueleai)).
Changelog-deleted-entry: 124685 [Bug Fix (user-visible misbehavior in an official stable release)] [raw] * Fixed `Not found column ... (NOT_FOUND_COLUMN_IN_BLOCK)` when a query over Parquet data (`file`, `url`, `s3` and other object storages) selects a subcolumn such as `n.null` or `arr.size0` and its filter runs as PREWHERE, either moved there automatically or written as an explicit `PREWHERE`. [#124685](#124685) ([Groene AI](https://github.com/groeneai)).
groeneai pushed a commit to groeneai/ClickHouse that referenced this pull request Oct 11, 2026
Targeted integration jobs select tests by the coverage of the changed lines, and third-party code is built without coverage, so a submodule bump selects no test while a data race in the bumped library is visible only under TSan.

Related: ClickHouse#125030
Related: ClickHouse#124678
huldarchen pushed a commit to huldarchen/ClickHouse that referenced this pull request Oct 12, 2026
This reverts ClickHouse#125030 (merge 18b5a99),
re-applying ClickHouse#124678 unchanged. The `ThreadSanitizer` race it exposed is
fixed by the next commit.

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

Labels

can be tested Allows running workflows for external contributors comp-external-dependencies Third-party deps updates in contrib/, vendored code, and platform base libraries. pr-build Pull request with build/testing/packaging improvement 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