Skip to content

Carry the ClickHouse patches onto 1.11.907 - #40

Merged
thevar1able merged 40 commits into
ClickHouse:ClickHouse/1.11.907from
actueleai:ClickHouse/1.11.907
Oct 8, 2026
Merged

thevar1able merged 40 commits into
ClickHouse:ClickHouse/1.11.907from
actueleai:ClickHouse/1.11.907

Conversation

@actueleai

Copy link
Copy Markdown

Rebases the ClickHouse patches onto upstream 1.11.907 (base tag a9f0ffcc2766, fork branch ClickHouse/1.11.907 head 732656d5a007), from the previous pin 1.11.771 + 40 commits.

All 40 commits are carried via git cherry-pick -x with original authors preserved: EC2-metadata disabling, the Poco std::iostream result-stream check, removal of the crt/aws-crt-cpp submodule, non-empty-path URIs, QpsLimitExceeded/TotalQpsLimitExceeded/AuthenticationRequered error codes, retry-strategy initialisation, MinIO compatibility errors, ContentLengthHasBeenSet(), logging and sanitizer tweaks.

Three obsolete hunks were dropped because 1.11.907 already contains the newer equivalent:

  • CoreErrors.cpp: the TooManyRequestsException mapping (upstream now uses RetryableType::RETRYABLE_THROTTLING; the ClickHouse QpsLimitExceeded entries were re-expressed in that form).
  • ClientConfiguration.cpp: the InitRetryStrategy(Aws::String) overload and the conflict markers committed in 56f888eb66 (upstream ships the overload and ResolveRetryMode).

Conflicts were limited to those two files plus the crt/aws-crt-cpp gitlink removal; the resulting tree is marker-free.

Note for the ClickHouse bump: 1.11.907 requires aws-crt-cpp 0.43.8 APIs (BddEngine.h, ProxyEnvVarOptions, ScheduledTask, …), so contrib/aws moves together with the aws-crt-cpp / aws-c-* chain, not alone.

Once merged, ClickHouse's contrib/aws submodule is bumped to this branch head.

vitlibar and others added 30 commits October 8, 2026 14:22
…n order to support std::iostream initialized by Poco HTTP streambuf, originally 2029d3d).

(cherry picked from commit e8c3a30)
because it was moved to ClickHouse main repository.

(cherry picked from commit 08e2fc1)
…ation in PocoHTTPClient).

(cherry picked from commit 9a8a562)
(cherry picked from commit 50002f2)
…-client-configuration"

This reverts commit 06aa875, reversing
changes made to 453d488.

(cherry picked from commit f7ad89c)
(cherry picked from commit 1fd7a88)
…configuration

Write warnings as debug message

(cherry picked from commit 4cab611)
This reverts commit 9eb5097.

(cherry picked from commit 6790de6)
(cherry picked from commit a9d2d18)
(cherry picked from commit 22e5b20)
…in your clients"

I've seen tons of "Encountered enum member CRC64NVME which is not
modeled in your clients" messages

Idealy we need to update aws-sdk, but it will take time, and it cannot
be backported.

(cherry picked from commit 4e178cd)
(cherry picked from commit 0d75c2e)
(cherry picked from commit e7a9067)
(cherry picked from commit 26846ebb114ef852b3e4ffb86c98eb6d925d7202)
(cherry picked from commit 91b848e)
alesapin and others added 10 commits October 8, 2026 14:23
(cherry picked from commit 28ebb06)
(cherry picked from commit 1302f28)
(cherry picked from commit 5a0985e)
(cherry picked from commit 3aa121c)
(cherry picked from commit 05a48d2)
generated/src/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h:25:7: error: Value assigned to field 'm_HttpResponseCode' in implicit constructor is uninitialized [clang-analyzer-core.uninitialized.Assign,-warnings-as-errors]
   25 | class AbortMultipartUploadResult {
      |       ^
/ClickHouse/src/IO/tests/gtest_writebuffer_s3.cpp:402:9: note: Taking false branch
  402 |         if (injections)
      |         ^
/ClickHouse/src/IO/tests/gtest_writebuffer_s3.cpp:414:16: note: Calling constructor for 'Outcome<Aws::S3::Model::AbortMultipartUploadResult, Aws::S3::S3Error>'
  414 |         return Aws::S3::Model::AbortMultipartUploadOutcome(result);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ClickHouse/contrib/aws/src/aws-cpp-sdk-core/include/aws/core/utils/Outcome.h:34:35: note: Calling implicit copy constructor for 'AbortMultipartUploadResult'
   34 |             Outcome(const R& r) : result(r), error(), success(true)
      |                                   ^~~~~~~~~
/ClickHouse/contrib/aws/generated/src/aws-cpp-sdk-s3/include/aws/s3/model/AbortMultipartUploadResult.h:25:7: note: Value assigned to field 'm_HttpResponseCode' in implicit constructor is uninitialized
   25 | class AbortMultipartUploadResult {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~

(cherry picked from commit 22f694a)
@thevar1able
thevar1able merged commit e235f91 into ClickHouse:ClickHouse/1.11.907 Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.