Skip to content

[fix](doc) clarify type vs provider naming on CREATE-STORAGE-VAULT pages#3748

Open
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix-storage-vault-type-clarify-3124
Open

[fix](doc) clarify type vs provider naming on CREATE-STORAGE-VAULT pages#3748
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix-storage-vault-type-clarify-3124

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 23, 2026

Summary

Fixes #3124. The reporter pointed out that every non-HDFS example on the `CREATE-STORAGE-VAULT` page uses `"type" = "S3"` and `s3.access_key` / `s3.secret_key` — for OSS, COS, OBS, BOS, MinIO, Azure Blob, and GCS — which reads as a copy-paste mistake.

It is not a bug. The FE `StorageVaultType` enum at `fe/fe-core/src/main/java/org/apache/doris/catalog/StorageVault.java` defines only two values, `S3` and `HDFS` (verified identical on `branch-3.0`, `branch-3.1`, `branch-4.0`, `branch-4.1`). All object-storage backends speak to Doris through the S3-compatible client; the actual cloud is selected by the separate `provider` property (`COS`, `OSS`, `S3`, `OBS`, `BOS`, `AZURE`, `GCP`). The `s3.*` property prefix follows the same S3-API convention and is not literally about AWS S3.

This PR adds a `:::note` admonition immediately before the `### S3 Vault` parameters table on all six maintained pages (current/3.x/4.x EN + zh), so first-time readers don't read the examples as duplicated.

Scope

6 files, +24 lines, +0 lines removed:

  • `docs/.../CREATE-STORAGE-VAULT.md` (current EN)
  • `versioned_docs/version-3.x/.../CREATE-STORAGE-VAULT.md`
  • `versioned_docs/version-4.x/.../CREATE-STORAGE-VAULT.md`
  • `i18n/zh-CN/.../current/.../CREATE-STORAGE-VAULT.md`
  • `i18n/zh-CN/.../version-3.x/.../CREATE-STORAGE-VAULT.md`
  • `i18n/zh-CN/.../version-4.x/.../CREATE-STORAGE-VAULT.md`

No changes to existing examples or parameter tables. `version-2.1` does not have the storage-vault feature so no edit needed there.

Test plan

  • Note placed directly above `### S3 Vault` table on all 6 pages
  • Dead-link check passes
  • No example code changed

Closes #3124

Issue apache#3124 reports that every non-HDFS example in the CREATE-STORAGE-VAULT
docs uses `"type" = "S3"` and `s3.access_key` / `s3.secret_key`, which looks
contradictory for OSS / COS / OBS / BOS / MinIO / Azure / GCP vaults.

It is not a bug. The FE `StorageVaultType` enum
(`fe/fe-core/src/main/java/org/apache/doris/catalog/StorageVault.java`)
defines only two values: `S3` and `HDFS` (verified identical in `branch-3.0`,
`branch-3.1`, `branch-4.0`, `branch-4.1`). All object-storage backends are
accessed via Doris's S3-compatible client and pick the actual cloud through
the separate `provider` property; the `s3.*` property prefix follows the same
S3-API convention and is not literally about AWS S3.

Add a `:::note` admonition right before the `### S3 Vault` parameters table
on all 6 pages (current/3.x/4.x EN + zh) so first-time readers don't read the
identical-looking examples as a copy-paste error.

Closes apache#3124
@boluor boluor mentioned this pull request May 23, 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.

Issue on docs

1 participant