-
Notifications
You must be signed in to change notification settings - Fork 694
Support azure dm private link #20953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: support-azure
Are you sure you want to change the base?
Support azure dm private link #20953
Conversation
There was a problem hiding this 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 updates the TiDB Cloud documentation to reflect the addition of Azure Blob Storage as a supported external storage option for TiDB Cloud Dedicated clusters. It also updates references to the config-s3-and-gcs-access.md
document to the new dedicated-external-storage.md
document, which now includes Azure Blob Storage configuration instructions. The PR also adds a section on configuring Azure Private Link.
Highlights
- Azure Blob Storage Support: Adds documentation for configuring Azure Blob Storage access for TiDB Cloud Dedicated clusters, including instructions for creating an account SAS token.
- Documentation Updates: Updates multiple documents to reference the
dedicated-external-storage.md
document instead of the deprecatedconfig-s3-and-gcs-access.md
. - Azure Private Link: Adds a section with a link to the
private-link-to-azure.md
guide for setting up Azure Private Link.
Changelog
Click here to see the changelog
- TOC-tidb-cloud.md
- Updated the link for configuring external storage access for TiDB Cloud Dedicated to point to
dedicated-external-storage.md
.
- Updated the link for configuring external storage access for TiDB Cloud Dedicated to point to
- tidb-cloud/dedicated-external-storage.md
- Added support for configuring Azure Blob Storage access.
- Added alias for the old
config-s3-and-gcs-access
path to this document. - Updated the summary to include Azure Blob Storage.
- tidb-cloud/import-csv-files.md
- Updated links to point to
dedicated-external-storage.md
for configuring Amazon S3 and GCS access.
- Updated links to point to
- tidb-cloud/import-parquet-files.md
- Updated links to point to
dedicated-external-storage.md
for configuring Amazon S3 and GCS access.
- Updated links to point to
- tidb-cloud/import-sample-data.md
- Updated link to point to
dedicated-external-storage.md
for configuring GCS access.
- Updated link to point to
- tidb-cloud/migrate-from-mysql-using-data-migration.md
- Added a section with a link to the
private-link-to-azure.md
guide for setting up Azure Private Link.
- Added a section with a link to the
- tidb-cloud/migrate-sql-shards.md
- Updated link to point to
dedicated-external-storage.md
for configuring Amazon S3 access.
- Updated link to point to
- tidb-cloud/release-notes-2023.md
- Updated link to point to
dedicated-external-storage.md
for configuring Amazon S3 access.
- Updated link to point to
- tidb-cloud/serverless-external-storage.md
- Updated link to point to
dedicated-external-storage.md
for configuring external storage access for TiDB Cloud Dedicated.
- Updated link to point to
- tidb-cloud/terraform-use-import-resource.md
- Updated link to point to
dedicated-external-storage.md
for configuring Amazon S3 access.
- Updated link to point to
- tidb-cloud/tidb-cloud-migration-overview.md
- Updated link to point to
dedicated-external-storage.md
for configuring Amazon S3 access and GCS access.
- Updated link to point to
- tidb-cloud/troubleshoot-import-access-denied-error.md
- Updated link to point to
dedicated-external-storage.md
for configuring Amazon S3 access.
- Updated link to point to
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
-
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. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request updates several documents to point to the new location of the external storage configuration guide. It also adds a section on configuring Azure Blob Storage access. The changes seem correct and necessary. However, there are a few minor issues that can be improved.
Summary of Findings
- Consistency in Summary: The summary in
tidb-cloud/dedicated-external-storage.md
could be rephrased for better consistency. - Code Block Formatting: The code block formatting in
tidb-cloud/dedicated-external-storage.md
could be improved by removing the language identifier. - Introductory Sentence: The new Azure Blob Storage section in
tidb-cloud/dedicated-external-storage.md
could benefit from a brief introductory sentence.
Merge Readiness
The pull request is almost ready for merging. Addressing the minor suggestions would improve the overall quality and clarity of the documentation. Once these are addressed, the pull request can be merged.
@@ -1,11 +1,12 @@ | |||
--- | |||
title: Configure External Storage Access for TiDB Cloud Dedicated | |||
summary: Learn how to configure Amazon Simple Storage Service (Amazon S3) access and Google Cloud Storage (GCS) access. | |||
summary: Learn how to configure Amazon Simple Storage Service (Amazon S3) access, Azure Blob Storage access, and Google Cloud Storage (GCS) access. | |||
aliases: ['/tidb-cloud/config-s3-and-gcs-access'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good addition to maintain the existing aliases.
Consider adding a brief comment explaining why this alias is needed (e.g., "Maintains backward compatibility with old links").
aliases: ['/tidb-cloud/config-s3-and-gcs-access'] | |
aliases: ['/tidb-cloud/config-s3-and-gcs-access'] # Maintains backward compatibility with old links |
…e migration guide. - Included reference to the related pull request for additional context: pingcap#20873.
b19ea89
to
effc809
Compare
…on for migrating MySQL-compatible databases to TiDB Cloud using Data Migration in tidb-cloud/migrate-from-mysql-using-data-migration.md. The primary goals of this update are to: 1. Provide much more detailed and actionable guidance on network connectivity options, with a strong focus on Private Link/Endpoint configurations for AWS and Azure, alongside existing VPC Peering and Public IP methods. 2. Introduce comprehensive instructions for enabling and configuring binary logs on various MySQL source types (self-managed, AWS RDS/Aurora, Azure Database for MySQL, Google Cloud SQL). 3. Incorporate Azure Database for MySQL flexible servers as a fully supported data source throughout the document. 4. Improve clarity and consistency in terminology (e.g., "MySQL source database" instead of "upstream"). Key changes include: - Updated to include Azure and better articulate the benefits of the DM feature. - Restructured "Prerequisites": - Added "Azure Database for MySQL flexible servers" to supported data sources and expanded version support for other cloud MySQL services. - New major section "Ensure network connectivity": - Table summarizing Public Endpoints, Private Links (AWS/Azure), and VPC Peering (AWS/GCP). - Emphasis on end-to-end TLS/SSL encryption with links to provider docs. - Detailed setup guides for Public Endpoints, AWS PrivateLink, and Azure Private Link, including CLI verification examples and provider-specific considerations. - Existing VPC Peering instructions for AWS and GCP are now integrated here. - New major section "Enable binary logs for replication": - Table of required binlog settings. - Provider-specific instructions (self-managed, AWS, Azure, GCP) for configuring these binlog settings. - Clarified privilege requirements and user hostname considerations for DM service access. - **Terminology Updates:** Consistently used "MySQL source database" and "target TiDB Cloud cluster" for better readability. - Minor phrasing improvements throughout the document for clarity. These changes aim to provide users with a more complete, robust, and easier-to-follow guide for preparing their environment for data migration to TiDB Cloud, especially when using private networking solutions."
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- Added "Azure Database for MySQL flexible servers" to supported sources and updated the supported versions table. - Expanded the "Enable binary logs" section with specific MySQL configurations (`log_bin`, `binlog_format`, `binlog_row_image`, `binlog_expire_logs_seconds`) and detailed setup instructions for self-managed MySQL, AWS RDS/Aurora, Azure Database for MySQL, and Google Cloud SQL for MySQL. - Enhanced "Ensure network connectivity" section covering Public Endpoints, Private Link (for AWS and Azure with setup steps), and VPC Peering (for AWS and GCP with setup steps), along with recommendations for TLS/SSL. - Refined the "Grant required privileges" section with clearer tables detailing privileges, scope, and purpose for both source and target databases. - Various wording adjustments and formatting improvements for better readability and consistency.
@alastori: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
What is changed, added or deleted? (Required)
Updated the
tidb-cloud/migrate-from-mysql-using-data-migration.md
document.In the "Set up network connection" section, under the "Set up Azure Private Link" details block, the content was changed to link to the more comprehensive guide at
/tidb-cloud/private-link-to-azure.md
(#20873). This ensures users have access to the full, detailed instructions for setting up Azure Private Link when migrating data to TiDB Cloud.Previously, this section contained a summary of the steps. The change points to the canonical documentation for this feature.
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.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?