Skip to content

Commit

Permalink
[Doc] Forbid https in GCS endpoint (backport #52285) (#52309)
Browse files Browse the repository at this point in the history
Signed-off-by: 絵空事スピリット <[email protected]>
Co-authored-by: 絵空事スピリット <[email protected]>
  • Loading branch information
mergify[bot] and EsoragotoSpirit authored Oct 25, 2024
1 parent bb0b1bc commit 4265738
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/en/administration/Backup_and_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ PROPERTIES(

> **NOTE**
>
> StarRocks supports creating repositories in Google GCS only according to the S3A protocol. Therefore, when you create repositories in Google GCS, you must replace the prefix in the GCS URI you pass as a repository location in `ON LOCATION` with `s3a://`.
> - StarRocks supports creating repositories in Google GCS only according to the S3A protocol. Therefore, when you create repositories in Google GCS, you must replace the prefix in the GCS URI you pass as a repository location in `ON LOCATION` with `s3a://`.
> - Do not specify `https` in the endpoint address.
After the repository is created, you can check the repository via [SHOW REPOSITORIES](../sql-reference/sql-statements/data-manipulation/SHOW_REPOSITORIES.md). After restoring data, you can delete the repository in StarRocks using [DROP REPOSITORY](../sql-reference/sql-statements/data-definition/DROP_REPOSITORY.md). However, data snapshots backed up in the remote storage system cannot be deleted through StarRocks. You need to delete them manually in the remote storage system.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ StarRocks supports creating repositories in HDFS, AWS S3, and Google GCS.
- For Google GCS:
- "fs.s3a.access.key": The Access Key that you can use to access the Google GCS bucket.
- "fs.s3a.secret.key": The Secret Key that you can use to access the Google GCS bucket.
- "fs.s3a.endpoint": The endpoint that you can use to access the Google GCS bucket.
- "fs.s3a.endpoint": The endpoint that you can use to access the Google GCS bucket. Do not specify `https` in the endpoint address.

> **NOTE**
>
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/administration/Backup_and_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ PROPERTIES(

> **说明**
>
> StarRocks 仅支持通过 S3A 协议在 Google GCS 中创建仓库。 因此,当您在 Google GCS 中创建仓库时,必须在 `ON LOCATION` 参数下将 GCS URI 的前缀替换为 `s3a://`
> - StarRocks 仅支持通过 S3A 协议在 Google GCS 中创建仓库。 因此,当您在 Google GCS 中创建仓库时,必须在 `ON LOCATION` 参数下将 GCS URI 的前缀替换为 `s3a://`
> - 请勿在 Endpoint 地址中指定 `https`
- 在阿里云 OSS 中创建仓库

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ StarRocks 支持在 HDFS、AWS S3、Google GCS、阿里云 OSS 以及腾讯云 C
- GCS:
- "fs.s3a.access.key":访问 Google GCS 存储空间的 Access Key。
- "fs.s3a.secret.key":访问 Google GCS 存储空间的 Secret Key。
- "fs.s3a.endpoint":访问 Google GCS 存储空间的连接地址。
- "fs.s3a.endpoint":访问 Google GCS 存储空间的连接地址。请勿在 Endpoint 地址中指定 `https`

> **说明**
>
Expand Down

0 comments on commit 4265738

Please sign in to comment.