Skip to content

docs: fix nonexistent disk options documented in storing-data.mdx - #119366

Merged
dhtclk merged 4 commits into
ClickHouse:masterfrom
Bartok9:sera/docs-fix-storing-data-config-options
Sep 15, 2026
Merged

dhtclk merged 4 commits into
ClickHouse:masterfrom
Bartok9:sera/docs-fix-storing-data-config-options

Conversation

@Bartok9

@Bartok9 Bartok9 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

N/A — documentation only.

Fix documented disk options that the code does not read.

Three families in docs/concepts/features/configuration/server-config/storing-data.mdx:

  1. Cache disks: remove enable_cache_hits_threshold (not in LIST_OF_FILE_CACHE_SETTINGS — causes startup refusal). Mark cache_hits_threshold as deprecated per source.
  2. Web disks: remove dead "Optional parameters" table (web creator reads only endpoint).
  3. Azure disks: strip s3_ prefix from max_single_part_upload_size and max_inflight_parts_for_one_file (code reads unprefixed).

Verified against current master source: src/Interpreters/FileCache/FileCacheSettings.cpp, src/Disks/DiskObjectStorage/ObjectStorages/ObjectStorageFactory.cpp, src/Disks/DiskObjectStorage/ObjectStorages/AzureBlobStorage/AzureBlobStorageCommon.cpp.

Closes: #118493

Agent-Owner: sera


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

Version info

  • Merged into: 26.9.1.1545 (included in 26.9 and later)

Cache, web, and azure disk parameter tables documented keys the code
does not read. Cache's `enable_cache_hits_threshold` does not exist in
LIST_OF_FILE_CACHE_SETTINGS and causes UNKNOWN_SETTING startup refusal;
`cache_hits_threshold` is deprecated. Web disk's optional-parameters table
listed 3 dead keys. Azure disk listed s3_-prefixed keys the code reads
unprefixed. Verified against current master source.

Closes ClickHouse#118493

Signed-off-by: Bartok9 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added comp-documentation Documentation (docs, examples, READMEs). external Author is not a member of the ClickHouse organization labels Sep 11, 2026
@maxknv maxknv removed the external Author is not a member of the ClickHouse organization label Sep 11, 2026
@clickhouse-gh clickhouse-gh Bot added the external Author is not a member of the ClickHouse organization label Sep 11, 2026
@Blargian Blargian self-assigned this Sep 11, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [805cd6d]

Summary: ✅


AI Review

Summary

This PR corrects the storing-data documentation so the cache, web, and Azure disk sections stop advertising disk keys that current ClickHouse builds either ignore or reject. I checked the updated lines against the current implementations in src/Interpreters/FileCache/FileCacheSettings.cpp, src/Disks/DiskObjectStorage/ObjectStorages/ObjectStorageFactory.cpp, src/Disks/DiskObjectStorage/RegisterDiskObjectStorage.cpp, src/Disks/IO/ReadBufferFromWebServer.cpp, and src/Disks/DiskObjectStorage/ObjectStorages/AzureBlobStorage/AzureBlobStorageCommon.cpp, and the changed documentation now matches the code.

Final Verdict

Status: ✅ Approve

@Bartok9

Bartok9 commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

The PR body already includes the changelog category (### Changelog category → Not for changelog), which resolves the pr_labels_and_category.py and pr_body_check.py failures — these were stale checks from before the body edit.

The only remaining blocker is can_be_tested: Bartok9 is not in ci/defs/trusted_contributors.json and lacks label-admin permission (AddLabelsToLabelable 403) to self-apply the can be tested label. A maintainer with label perms would need to add can be tested to allow the praktika CI to proceed (cf. how #111707 was unblocked). Happy to apply any requested changes.

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Sep 13, 2026
@Blargian Blargian added the can be tested Allows running workflows for external contributors label Sep 15, 2026
Clarify that `cache_hits_threshold` has no effect and that generic disk options still apply to `web`. Remove the unused Azure `cache_path` example key.

Related: ClickHouse#119366
Replace the unused `http_max_single_read_retries` reference with `http_max_tries` and the HTTP retry backoff settings.

Related: ClickHouse#119366
@dhtclk
dhtclk enabled auto-merge September 15, 2026 20:08
@dhtclk
dhtclk added this pull request to the merge queue Sep 15, 2026
Merged via the queue into ClickHouse:master with commit 7dc4a12 Sep 15, 2026
177 checks passed
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 15, 2026
subkanthi pushed a commit to subkanthi/ClickHouse that referenced this pull request Nov 18, 2026
Correct stale defaults, authentication guidance, and configuration semantics
while retaining the settings tables and historical cache example.

Related: ClickHouse#119366
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-documentation Documentation (docs, examples, READMEs). external Author is not a member of the ClickHouse organization pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

5 participants