Skip to content

Cherry pick #107251 to 26.5: Feature: Support additional storage classes in S3 - #112774

Merged
robot-clickhouse-ci-1 merged 14 commits into
backport/26.5/107251from
cherrypick/26.5/107251
Aug 1, 2026
Merged

robot-clickhouse-ci-1 merged 14 commits into
backport/26.5/107251from
cherrypick/26.5/107251

Conversation

@robot-ch-test-poll

Copy link
Copy Markdown
Contributor

Original pull-request #107251

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

adityaksolves and others added 13 commits June 11, 2026 22:38
The `storage_class_name` validation list now also accepts
`REDUCED_REDUNDANCY` and `STANDARD_IA`, but the `s3` table function and
`S3` table engine docs still listed only `STANDARD` and
`INTELLIGENT_TIERING`. Update both docs to the final supported set and
note that only classes allowing immediate retrieval are supported
(archival classes such as `GLACIER` are rejected).

Addresses the AI review "Request changes" finding on
#107251

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The test only checked rejected values, so reverting the allow-list to
the old `STANDARD` / `INTELLIGENT_TIERING` set would still pass. Add
`SELECT count()` reads with `STANDARD`, `REDUCED_REDUNDANCY`,
`STANDARD_IA` and `INTELLIGENT_TIERING`, which pass validation and read
the fixture instead of throwing `INVALID_SETTING_VALUE`. This exercises
the read path without depending on a successful S3 upload.

Addresses the AI review "Request changes" finding on
#107251

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
The `S3` engine description registered in `registerStorageObjectStorage.cpp`
is exposed directly through `system.table_engines` and `SHOW TABLE ENGINES`,
so it is a user-facing documentation surface. It still advertised only
`STANDARD` and `INTELLIGENT_TIERING`; align it with the new allow-list
(`STANDARD`, `REDUCED_REDUNDANCY`, `STANDARD_IA`, `INTELLIGENT_TIERING`) and
the two Markdown docs, noting that archival classes such as `GLACIER` are
not supported.

Addresses the AI review finding on
#107251

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ge-classes

Feature: Support additional storage classes in S3
@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 31, 2026
…ypick/26.5/107251

# Conflicts:
#	src/IO/S3RequestSettings.cpp
#	src/Storages/ObjectStorage/registerStorageObjectStorage.cpp
@robot-clickhouse-ci-1
robot-clickhouse-ci-1 merged commit ad8cfdf into backport/26.5/107251 Aug 1, 2026
1 check passed
@robot-clickhouse-ci-1
robot-clickhouse-ci-1 deleted the cherrypick/26.5/107251 branch August 1, 2026 12:28
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