Skip to content

release-8.5: use a variable to refer to TiDB Cloud Serverless #21290

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

Merged
merged 2 commits into from
Jul 8, 2025

Conversation

qiancai
Copy link
Collaborator

@qiancai qiancai commented Jul 1, 2025

What is changed, added or deleted? (Required)

This PR uses the {{{ .starter }}} variable to replace TiDB Cloud Serverless to simplify maintenance.

This PR is only for files outside the tidb-cloud folder.

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)

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

  • This PR is translated from:
  • Other reference 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 area/develop This PR relates to the area of TiDB App development. missing-translation-status This PR does not have translation status info. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 1, 2025
@qiancai qiancai marked this pull request as draft July 1, 2025 02:31
@ti-chi-bot ti-chi-bot bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 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.

Summary of Changes

Hello @qiancai, 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!

This pull request implements a significant terminology update within the documentation, replacing all instances of 'TiDB Cloud Serverless' with 'TiDB Cloud Starter'. This is a broad branding change affecting numerous guides, reference materials, and feature descriptions to align the documentation with the new product naming convention.

Highlights

  • Terminology Update: The term 'TiDB Cloud Serverless' has been globally renamed to 'TiDB Cloud Starter' across various documentation files outside the tidb-cloud folder.
  • Documentation Consistency: This change ensures consistency in product naming throughout the documentation, affecting quick start guides, developer guides, GUI tool connection instructions, SQL statements, information schema tables, system variables, and vector search features.
  • Version Specificity: The changes are specifically targeted for the release-8.5 branch, indicating a product branding update for this version.
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.

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 correctly renames most instances of "TiDB Cloud Serverless" to "TiDB Cloud Starter". However, I've identified several areas where the changes are incomplete, leading to broken or inconsistent links. Specifically, many internal links have outdated URL anchors or file paths that still reference "serverless". I've provided detailed comments on a few examples that represent these recurring issues. Please address these to ensure the documentation remains consistent and navigable. Additionally, one external link's text was updated, which should be reverted to match the actual title of the linked content.

@@ -292,7 +292,7 @@ ALTER TABLE `bookshop`.`ratings` SET TIFLASH REPLICA 1;

> **Note:**
>
> If your cluster does not contain **TiFlash** nodes, this SQL statement will report an error: `1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0`. You can use [Build a TiDB Cloud Serverless Cluster](/develop/dev-guide-build-cluster-in-cloud.md#step-1-create-a-tidb-cloud-serverless-cluster) to create a TiDB Cloud Serverless cluster that includes **TiFlash**.
> If your cluster does not contain **TiFlash** nodes, this SQL statement will report an error: `1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0`. You can use [Build a TiDB Cloud Starter Cluster](/develop/dev-guide-build-cluster-in-cloud.md#step-1-create-a-tidb-cloud-serverless-cluster) to create a TiDB Cloud Starter cluster that includes **TiFlash**.

Choose a reason for hiding this comment

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

high

This link appears to be broken. The anchor #step-1-create-a-tidb-cloud-serverless-cluster is no longer valid because the corresponding heading in develop/dev-guide-build-cluster-in-cloud.md has been updated to ## Step 1. Create a TiDB Cloud Starter cluster. Please update the anchor to #step-1-create-a-tidb-cloud-starter-cluster to fix the link. I've noticed this issue in other files as well, such as develop/dev-guide-tidb-crud-sql.md.

Suggested change
> If your cluster does not contain **TiFlash** nodes, this SQL statement will report an error: `1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0`. You can use [Build a TiDB Cloud Starter Cluster](/develop/dev-guide-build-cluster-in-cloud.md#step-1-create-a-tidb-cloud-serverless-cluster) to create a TiDB Cloud Starter cluster that includes **TiFlash**.
> If your cluster does not contain **TiFlash** nodes, this SQL statement will report an error: `1105 - the tiflash replica count: 1 should be less than the total tiflash server count: 0`. You can use [Build a TiDB Cloud Starter Cluster](/develop/dev-guide-build-cluster-in-cloud.md#step-1-create-a-tidb-cloud-starter-cluster) to create a TiDB Cloud Starter cluster that includes **TiFlash**.

@@ -60,7 +60,7 @@
- [C#](/develop/dev-guide-sample-application-cs.md)
- [WordPress](/tidb-cloud/dev-guide-wordpress.md)
- Serverless Driver (Beta)
- [TiDB Cloud Serverless Driver](/tidb-cloud/serverless-driver.md)
- [TiDB Cloud Starter Driver](/tidb-cloud/serverless-driver.md)

Choose a reason for hiding this comment

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

medium

While the link text has been updated to 'TiDB Cloud Starter Driver', the URL /tidb-cloud/serverless-driver.md still uses 'serverless'. For consistency, the underlying file should also be renamed and the link updated. This maintains terminology consistency as recommended by the style guide.1 I've noticed this pattern for multiple links across the PR. It would be best to address them all for consistency, possibly in a follow-up PR if file renaming is out of scope for this one.

Style Guide References

Footnotes

  1. The style guide recommends using consistent technical terms. This principle should extend to file paths and URLs to avoid confusion. (link)

@@ -244,7 +244,7 @@ test> SELECT * FROM sf_account;

- If anything goes wrong, you can navigate to the [CloudWatch](https://console.aws.amazon.com/cloudwatch/home) page on the AWS Management Console to get logs.
- The steps in this document are based on [Building custom connectors using the Amazon AppFlow Custom Connector SDK](https://aws.amazon.com/blogs/compute/building-custom-connectors-using-the-amazon-appflow-custom-connector-sdk/).
- [TiDB Cloud Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-serverless) is **NOT** a production environment.
- [TiDB Cloud Starter](https://docs.tidb.io/tidbcloud/select-cluster-tier#tidb-cloud-starter) is **NOT** a production environment.

Choose a reason for hiding this comment

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

medium

The link anchor #tidb-cloud-serverless seems outdated. The target page select-cluster-tier.md now refers to 'TiDB Cloud Starter'. Please update the anchor to point to the correct section, which is likely #tidb-cloud-starter. This will ensure the link works as expected and maintains terminology consistency.1 This issue is present in multiple files throughout the pull request.

Style Guide References

Suggested change
- [TiDB Cloud Starter](https://docs.tidb.io/tidbcloud/select-cluster-tier#tidb-cloud-starter) is **NOT** a production environment.
- [TiDB Cloud Starter](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-cloud-starter) is **NOT** a production environment.

Footnotes

  1. The style guide recommends using consistent technical terms. This principle should extend to URL anchors to avoid broken links and confusion. (link)

@@ -355,7 +355,7 @@ For more information, refer to [Delete data](/develop/dev-guide-delete-data.md).
- To avoid SQL injection, it is recommended to use [prepared statements](https://github.com/sidorares/node-mysql2#using-prepared-statements).
- In scenarios where there are not many complex SQL statements involved, using ORM frameworks like [Sequelize](https://sequelize.org/), [TypeORM](https://typeorm.io/), or [Prisma](https://www.prisma.io/) can greatly improve development efficiency.
- For building a RESTful API for your application, it is recommended to [use AWS Lambda with API Gateway](https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html).
- For designing high-performance applications using TiDB Cloud Serverless and AWS Lambda, refer to [this blog](https://aws.amazon.com/blogs/apn/designing-high-performance-applications-using-serverless-tidb-cloud-and-aws-lambda/).
- For designing high-performance applications using TiDB Cloud Starter and AWS Lambda, refer to [this blog](https://aws.amazon.com/blogs/apn/designing-high-performance-applications-using-serverless-tidb-cloud-and-aws-lambda/).

Choose a reason for hiding this comment

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

medium

The link text here has been updated to 'TiDB Cloud Starter', but it points to an external blog post. The link text should accurately reflect the title of the external content, which likely has not been changed. Please revert this change to maintain accuracy.

Suggested change
- For designing high-performance applications using TiDB Cloud Starter and AWS Lambda, refer to [this blog](https://aws.amazon.com/blogs/apn/designing-high-performance-applications-using-serverless-tidb-cloud-and-aws-lambda/).
- For designing high-performance applications using TiDB Cloud Serverless and AWS Lambda, refer to [this blog](https://aws.amazon.com/blogs/apn/designing-high-performance-applications-using-serverless-tidb-cloud-and-aws-lambda/).

@@ -102,7 +102,7 @@ Request Unit (RU) is a unified abstraction unit in TiDB for system resources, wh
> **Note:**
>
> - Each write operation is eventually replicated to all replicas (by default, TiKV has 3 replicas). Each replication operation is considered a different write operation.
> - The preceding table lists only the resources involved in RU calculation for TiDB Self-Managed clusters, excluding the network and storage consumption. For TiDB Cloud Serverless RUs, see [TiDB Cloud Serverless Pricing Details](https://www.pingcap.com/tidb-cloud-serverless-pricing-details/).
> - The preceding table lists only the resources involved in RU calculation for TiDB Self-Managed clusters, excluding the network and storage consumption. For TiDB Cloud Starter RUs, see [TiDB Cloud Starter Pricing Details](https://www.pingcap.com/tidb-cloud-serverless-pricing-details/).

Choose a reason for hiding this comment

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

low

The link text has been updated to 'TiDB Cloud Starter Pricing Details', but the URL still contains 'serverless'. Please verify if this URL is correct or if it needs to be updated to reflect the new branding.

@qiancai qiancai force-pushed the rename-serverless branch from 075fa3c to 692ecaa Compare July 1, 2025 08:40
@qiancai qiancai closed this Jul 1, 2025
@qiancai qiancai force-pushed the rename-serverless branch from 692ecaa to ca0f4cf Compare July 1, 2025 08:41
@ti-chi-bot ti-chi-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 1, 2025
@qiancai qiancai reopened this Jul 1, 2025
@qiancai qiancai force-pushed the rename-serverless branch from b95881b to d92159c Compare July 1, 2025 08:57
@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 1, 2025
@qiancai qiancai force-pushed the rename-serverless branch from d92159c to c733f0d Compare July 1, 2025 08:59
@qiancai qiancai closed this Jul 1, 2025
@qiancai qiancai force-pushed the rename-serverless branch from bf0f32b to ca0f4cf Compare July 1, 2025 09:21
@ti-chi-bot ti-chi-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 1, 2025
@qiancai qiancai reopened this Jul 1, 2025
@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 1, 2025
@qiancai qiancai force-pushed the rename-serverless branch from 07562f0 to 2f27f18 Compare July 1, 2025 09:31
github-actions bot pushed a commit to qiancai/pingcap-docsite-preview that referenced this pull request Jul 1, 2025
@qiancai
Copy link
Collaborator Author

qiancai commented Jul 1, 2025

/retest

@qiancai qiancai changed the title release-8.5: rename Serverless to Starter release-8.5: use variable for TiDB Cloud Serverless Jul 1, 2025
@qiancai qiancai changed the title release-8.5: use variable for TiDB Cloud Serverless release-8.5: use a variable to refer to TiDB Cloud Serverless Jul 1, 2025
@qiancai qiancai removed the missing-translation-status This PR does not have translation status info. label Jul 1, 2025
@qiancai qiancai self-assigned this Jul 2, 2025
@qiancai qiancai marked this pull request as ready for review July 2, 2025 06:49
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 2, 2025
@qiancai
Copy link
Collaborator Author

qiancai commented Jul 2, 2025

/retest

@lilin90 lilin90 added rename-serverless This PR is caused by renaming TiDB Cloud Serverless. translation/no-need No need to translate this PR. labels Jul 3, 2025
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jul 8, 2025
Copy link

ti-chi-bot bot commented Jul 8, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-07-08 06:56:34.96876413 +0000 UTC m=+1982847.691943110: ☑️ agreed by Oreoxmt.

@qiancai
Copy link
Collaborator Author

qiancai commented Jul 8, 2025

/approve

@qiancai qiancai added the lgtm label Jul 8, 2025
Copy link

ti-chi-bot bot commented Jul 8, 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

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 Jul 8, 2025
@ti-chi-bot ti-chi-bot bot merged commit c67b6de into pingcap:release-8.5 Jul 8, 2025
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/develop This PR relates to the area of TiDB App development. lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. rename-serverless This PR is caused by renaming TiDB Cloud Serverless. size/XXL Denotes a PR that changes 1000+ 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.

3 participants