Skip to content

Cherry pick #110665 to 26.3: Report object storage disk as local when it is using local object storage - #121564

Merged
robot-clickhouse-ci-2 merged 36 commits into
backport/26.3/110665from
cherrypick/26.3/110665
Nov 21, 2026
Merged

robot-clickhouse-ci-2 merged 36 commits into
backport/26.3/110665from
cherrypick/26.3/110665

Conversation

@robot-ch-test-poll

Copy link
Copy Markdown
Contributor

Original pull-request #110665

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.

Before you resolve anything

Conflicts are often caused by a prerequisite change that has not been backported yet, rather than by a real divergence. The bot re-tries this cherry-pick against the release branch on every run, so if that is the case here it will merge itself as soon as the prerequisite lands, and you will see a comment saying so. Manual resolution is only needed while the conflict persists.

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

@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 Sep 22, 2026
@robot-clickhouse-ci-1

Copy link
Copy Markdown
Contributor

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

@Michicosun

Copy link
Copy Markdown
Member

@groeneai, fix conflicts in this pr, if conflict in a file that does not exist in this release branch, do not backport these changes.

@groeneai

Copy link
Copy Markdown
Collaborator

Acknowledged. I'm resolving the conflicts on all four cherry-picks of #110665 (#121564 26.3, #121565 26.7, #121566 26.8, #121568 26.9), dropping the changes to files that do not exist on the respective release branch. I can't push to cherrypick/* myself, so on each PR I'll post the resolved merge commit from my fork together with the one-line command that fast-forwards the branch to it.

@groeneai

Copy link
Copy Markdown
Collaborator

Conflicts resolved; the resolution is on my fork

Twelve files that #110665 changes do not exist on 26.3; as you asked, I dropped those changes:

  • MetadataStorageFromMemory.h, MetadataStorageFromIndexPages.h, src/QueryPipeline/DistributedPlanExecutor.cpp
  • tests 04089_merge_tree_refresh_after_merge, 04103_plain_rewritable_get_last_modified_bug, 04105_blob_storage_log_read_local, 04318_system_restart_disk_plain_rewritable, 04371_load_compact_part_non_adaptive_reader, 04546_remote_fs_prefetch_huge_read_buffer_size, 04610_filesystem_cache_huge_prefetch_buffer_size, 04661_vector_search_quantize_pq_codebook_mark_range, 05218_system_remote_data_paths_unparseable_metadata

In the five content conflicts, where #110665's hunk sits next to master-only code, I kept 26.3's side: only the includes #110665 adds in DiskEncrypted.cpp and DiskFromAST.cpp, no web_index registration in MetadataStorageFactory.cpp, 26.3's class declaration in StorageSystemRemoteDataPaths.cpp, and 02963_test_flexible_disk_configuration.sh without its two metadata_type = web / web_index cases, which the 26.3 version of that test does not have.

What I checked: everything else is byte-identical to #110665's hunks; clickhouse builds with 26.3's pinned clang-21; 05212_custom_disk_local_paths_confined and the other 7 tests #110665 changes that exist on 26.3 pass, as do 8 custom-disk and system.remote_data_paths tests; no conflict markers; it is a fast-forward of the current head.

I have triage but not push, so applying it needs one of you:

git fetch https://github.com/groeneai/ClickHouse groeneai/resolve-26.3-cherrypick-110665 && git push origin FETCH_HEAD:cherrypick/26.3/110665

Merge commit 7ec2786b5c71dfc8c5651e93c5deddd9b450aa35, tree 138839bb9e2f17d32ee7e33c709d46d91e67e913.

@PedroTadim

Copy link
Copy Markdown
Member

@Michicosun groeneai has no permission to commit in backport/cherry pick branches

@robot-clickhouse-ci-2

Copy link
Copy Markdown
Contributor

Dear @Michicosun, @CheSema, this cherry-pick PR has not been updated for 7d0h6m24s. Closing automatically. If you still want to backport #110665, please resolve the conflicts and reopen this PR.

@maxknv
maxknv deleted the cherrypick/26.3/110665 branch November 13, 2026 13:23
@Michicosun
Michicosun restored the cherrypick/26.3/110665 branch November 21, 2026 14:39
@Michicosun Michicosun reopened this Nov 21, 2026
@robot-ch-test-poll3

Copy link
Copy Markdown
Contributor

Dear @Michicosun, @CheSema, this PR is opened while #110665 was marked as backported. The pr-backports-created is removed, so the original PR can be processed again.

If the cherry-pick is not needed anymore, then just close this PR.

@Michicosun Michicosun closed this Nov 21, 2026
@Michicosun Michicosun reopened this Nov 21, 2026
@robot-clickhouse-ci-2
robot-clickhouse-ci-2 merged commit 8d7e301 into backport/26.3/110665 Nov 21, 2026
1 check passed
@robot-clickhouse-ci-2
robot-clickhouse-ci-2 deleted the cherrypick/26.3/110665 branch November 21, 2026 14:58
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.

8 participants