Skip to content

Conversation

@alastori
Copy link
Collaborator

@alastori alastori commented May 1, 2025

What is changed, added or deleted? (Required)

This PR replicates the changes from the original PR #19090, which added support for configuring Azure Blob Storage access for TiDB Cloud Dedicated clusters, but wasn't merged. We can close PR #19090 after we merge this one.

Specifically, this PR:

  • Creates the file tidb-cloud/dedicated-external-storage.md (effectively renaming the old tidb-cloud/config-s3-and-gcs-access.md) and adds instructions for configuring Azure Blob Storage access using SAS tokens.
  • Includes the necessary alias in the frontmatter of the new file to redirect from the old URL.
  • Adds two supporting images (azure-sas-create.png, azure-sas-position.png) to media/tidb-cloud/dedicated-external-storage/.
  • Updates links in 10 other files (TOC-tidb-cloud.md, import-csv-files.md, import-parquet-files.md, import-sample-data.md, migrate-sql-shards.md, release-notes-2023.md, serverless-external-storage.md, terraform-use-import-resource.md, tidb-cloud-migration-overview.md, troubleshoot-import-access-denied-error.md) to point to the new filename.
  • Incorporates review feedback from the original PR tidb-cloud: add Azure Blob Storage access configuration for Dedicated #19090 into tidb-cloud/dedicated-external-storage.md.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

(Note: Please adjust the version checkboxes above based on the actual target branch and current release policies.)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added the missing-translation-status This PR does not have translation status info. label May 1, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @alastori, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request addresses the need to configure Azure Blob Storage access for TiDB Cloud Dedicated clusters, mirroring the changes proposed in the original, unmerged PR #19090. I've incorporated review feedback from that original PR. The changes include creating a new documentation file (tidb-cloud/dedicated-external-storage.md), adding instructions for configuring Azure Blob Storage access using SAS tokens, including supporting images, and updating links in other files to point to the new documentation.

Highlights

  • Feature: Adds documentation for configuring Azure Blob Storage access for TiDB Cloud Dedicated clusters.
  • Refactor: Renames tidb-cloud/config-s3-and-gcs-access.md to tidb-cloud/dedicated-external-storage.md and updates all relevant links.
  • Documentation: Includes detailed steps and images for configuring Azure Blob Storage access using SAS tokens.

Changelog

Click here to see the changelog
  • TOC-tidb-cloud.md
    • Updated link to point to the new dedicated-external-storage.md file.
  • tidb-cloud/dedicated-external-storage.md
    • Created new file with instructions for configuring Azure Blob Storage access, as well as S3 and GCS.
    • Added frontmatter alias to redirect from the old URL (/tidb-cloud/config-s3-and-gcs-access).
  • tidb-cloud/import-csv-files.md
    • Updated links to refer to the new dedicated-external-storage.md file for configuring S3 and GCS access.
  • tidb-cloud/import-parquet-files.md
    • Updated links to refer to the new dedicated-external-storage.md file for configuring S3 and GCS access.
  • tidb-cloud/import-sample-data.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring GCS access.
  • tidb-cloud/migrate-sql-shards.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring S3 access.
  • tidb-cloud/release-notes-2023.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring S3 access.
  • tidb-cloud/serverless-external-storage.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring external storage for Dedicated clusters.
  • tidb-cloud/terraform-use-import-resource.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring S3 access.
  • tidb-cloud/tidb-cloud-migration-overview.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring S3 and GCS access.
  • tidb-cloud/troubleshoot-import-access-denied-error.md
    • Updated link to refer to the new dedicated-external-storage.md file for configuring S3 access.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@ti-chi-bot ti-chi-bot bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 1, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for configuring Azure Blob Storage access for TiDB Cloud Dedicated clusters, which is a valuable addition to the documentation. The changes include creating a new file, updating links in other files, and incorporating review feedback from a previous pull request. Overall, the changes seem well-organized and comprehensive. However, I have a few suggestions for improvement, focusing on clarity, consistency, and adherence to the style guide.

Summary of Findings

  • Clarity and Simplicity: Some step instructions could be more direct and easier to follow. Consider rephrasing for better clarity, especially for new users. [^1]
  • Markdown Style: Ensure a blank line before and after headings and lists for better readability. [^2]
  • Terminology Consistency: Maintain consistent terminology throughout the documentation. For example, ensure consistent naming for similar concepts across different sections. [^3]

Merge Readiness

The pull request is well-structured and adds significant value by including Azure Blob Storage configuration instructions. However, addressing the clarity and style guide issues would enhance the overall quality and user experience. I am unable to approve this pull request, and recommend that another reviewer does so after the below comments are addressed. Given the medium severity comments, I recommend that the author addresses these before merging.

@alastori alastori mentioned this pull request May 1, 2025
15 tasks
@qiancai qiancai self-assigned this May 2, 2025
@qiancai qiancai added translation/no-need No need to translate this PR. area/tidb-cloud This PR relates to the area of TiDB Cloud. labels May 2, 2025
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label May 2, 2025
@qiancai qiancai added missing-translation-status This PR does not have translation status info. for-cloud-release This PR is related to TiDB Cloud release. labels May 2, 2025
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels May 6, 2025
Copy link
Collaborator

@qiancai qiancai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label May 6, 2025
@qiancai
Copy link
Collaborator

qiancai commented May 6, 2025

Hi @alastori, would you please also involve a technical reviewer for this PR? Thanks.

alastori and others added 5 commits May 6, 2025 19:40
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Copy link
Collaborator

@Oreoxmt Oreoxmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rest LGTM

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels May 7, 2025
@ti-chi-bot
Copy link

ti-chi-bot bot commented May 7, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-05-06 08:44:29.955815759 +0000 UTC m=+344717.138719012: ☑️ agreed by qiancai.
  • 2025-05-07 08:10:36.525184637 +0000 UTC m=+429083.708087893: ☑️ agreed by Oreoxmt.

qiancai and others added 3 commits May 7, 2025 17:38
Co-authored-by: Aolin <aolinz@outlook.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Lilian Lee <lilin@pingcap.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 8, 2025
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 9, 2025
@ti-chi-bot
Copy link

ti-chi-bot bot commented May 13, 2025

@jusong: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Collaborator Author

@alastori alastori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jusong for the clarification. @qiancai changes lgtm.

alastori and others added 3 commits May 14, 2025 12:18
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
Co-authored-by: Grace Cai <qqzczy@126.com>
@qiancai
Copy link
Collaborator

qiancai commented May 15, 2025

/approve

@ti-chi-bot
Copy link

ti-chi-bot bot commented May 15, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label May 15, 2025
@qiancai qiancai merged commit 4cadc71 into pingcap:support-azure May 15, 2025
7 of 9 checks passed
qiancai added a commit to alastori/tidb-docs that referenced this pull request May 19, 2025
alastori added a commit to alastori/tidb-docs that referenced this pull request May 22, 2025
This commit addresses feedback from the technical review in PR pingcap#20902.

Specifically, the following changes were made to `tidb-cloud/dedicated-external-storage.md`:
- Changed "service SAS token" to "account SAS token" in the introductory sentence for Azure Blob Storage configuration.
- Corrected the Azure portal navigation path from "Security+network" to "Security + networking".
- Updated "service SAS token" to "account SAS token" and the corresponding link text in step 3 of the Azure Blob Storage configuration instructions.

Review context: https://github.com/pingcap/docs/pull/20902/files/9ab9fc1d8755b14972e913dafe6e398b1c97585c#diff-212ccbb2a644f3e5f083a88919779b8be41c50adc2c2dc25dcefbcf3d5a87232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/tidb-cloud This PR relates to the area of TiDB Cloud. for-cloud-release This PR is related to TiDB Cloud release. lgtm missing-translation-status This PR does not have translation status info. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants