Skip to content

offline 6tb tikv disk #21194

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

Open
wants to merge 543 commits into
base: master
Choose a base branch
from
Open

offline 6tb tikv disk #21194

wants to merge 543 commits into from

Conversation

jinwhu
Copy link
Contributor

@jinwhu jinwhu commented Jun 17, 2025

First-time contributors' checklist

What is changed, added or deleted? (Required)

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 and others added 30 commits November 25, 2024 08:18
* This is an automated cherry-pick of pingcap#19612

Signed-off-by: ti-chi-bot <[email protected]>

* Resolve conflict

* Resolve conflict

---------

Signed-off-by: ti-chi-bot <[email protected]>
Co-authored-by: Suhaha <[email protected]>
Co-authored-by: Lilian Lee <[email protected]>
@ti-chi-bot ti-chi-bot bot added contribution This PR is from a community contributor. needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Jun 17, 2025
Copy link

ti-chi-bot bot commented Jun 17, 2025

Hi @jinwhu. Thanks for your PR.

I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@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. labels Jun 17, 2025
Copy link

ti-chi-bot bot commented Jun 17, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breezewish for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 17, 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 @jinwhu, 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 represents a major documentation overhaul, aiming to align the TiDB documentation with the latest product versions, enhance user experience by improving content organization and consistency, and provide detailed guides for new and existing features across both TiDB Cloud and TiDB Self-Managed offerings. The changes are extensive and touch upon nearly all aspects of the product's usage and administration.

Highlights

  • Documentation Restructuring: The entire documentation structure for both TiDB Cloud and TiDB Self-Managed has been significantly reorganized, introducing new top-level sections and logical groupings for improved navigation and clarity. This includes dedicated sections for 'GET STARTED', 'DEVELOP', 'GUIDES', 'REFERENCE', and 'RELEASES' in TiDB Cloud, and similar improvements for TiDB Self-Managed.
  • Terminology Standardization: Consistent renaming has been applied across numerous files, changing 'TiDB Serverless' to 'TiDB Cloud Serverless' and 'TiDB Self-Hosted' to 'TiDB Self-Managed', ensuring a unified and clear terminology throughout the documentation.
  • New Feature Documentation: Extensive new content has been added for TiDB Cloud, specifically detailing 'Vector Search' capabilities, expanded 'Data Service' functionalities, and a comprehensive update to CLI commands. For TiDB Self-Managed, new sections cover security best practices, detailed TiDB Dashboard monitoring, and advanced SQL features.
  • SQL and System Function Enhancements: Updates include refined behavior for AUTO_INCREMENT, a complete overhaul and categorization of JSON functions into dedicated sub-sections, and the introduction of new TiDB-specific functions like TIDB_CURRENT_TSO() and TIDB_DECODE_BINARY_PLAN().
  • Tooling and Operational Updates: The documentation for BR (Backup & Restore) and DM (Data Migration) has been updated with new compatibility matrices, performance metrics, and security enhancements. Operational guides now include detailed information on managing system swap, SELinux, and dynamic configuration updates for TiKV.
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 includes several updates to the documentation, including adding links to documentation for version 8.1, updating the OWNERS file, and reorganizing the table of contents for TiDB Cloud. The changes generally improve the documentation's accuracy and organization. The style guide was followed, and suggestions were made to improve clarity and consistency.

Comment on lines +18 to +35
https://dev\.mysql\.com/doc/.+/5.7/en/.*
https://dev\.mysql\.com/doc/.+/8\.0/en/.*
https://dev\.mysql\.com/doc/.+/8\.4/en/.*
https://dev\.mysql\.com/doc/[a-z\-]+/en/.*
https://dev\.mysql\.com/doc/relnotes/[a-z\-]+/en/.*
https://dev\.mysql\.com/doc/dev/mysql-server/.*
https://dev\.mysql\.com/downloads/.*
https://bugs\.mysql\.com/bug\.php.*
https://www\.mysql\.com/products/.*
https://platform\.openai\.com/docs/.*
https://openai\.com/.*
https://jwt\.io/
https://typeorm\.io/.*
https://dash\.cloudflare\.com/.*
https://centminmod\.com/mydumper\.html
https://docs\.pingcap\.com/tidb/v6\.6/system-variables#tidb_pessimistic_txn_aggressive_locking-new-in-v660
https://docs\.pingcap\.com/tidb/v7\.6/system-variables#tidb_ddl_version-new-in-v760

Choose a reason for hiding this comment

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

low

This change adds several URLs to the ignore list. It would be helpful to add a brief description or comment explaining why these URLs are being ignored, for future maintainability. This is in line with the style of the file, and the documentation review style guide (lines 14-16) emphasizes clarity and maintainability.

+https://github\.com/\$user/(docs|docs-cn)
+# Ignore list for various reasons (e.g., redirects, dynamic content)
+https://linux\.die\.net/man.*

Style Guide References

Comment on lines +15 to 32
emeritus_approvers:
- CaitinChen
- CharLotteiu
- cofyc
- DanielZhangQD
- dcalvin
- dragonly
- en-jin19
- lichunzhu
- Liuxiaozhen12
- morgo
- queenypingcap
- ran-huang
- shichun-0415
- SunRunAway
- tangenta
- TomShawn
- toutdesuite
- WangXiangUSTC

Choose a reason for hiding this comment

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

low

This change moves several approvers to emeritus_approvers. It would be helpful to add a comment explaining why these approvers are being moved to emeritus status. This enhances maintainability and provides context for future changes.

+emeritus_approvers:
+  # Moved to emeritus status per policy.
+  - CaitinChen

Comment on lines +9 to 10
- [TiDB Cloud Introduction](/tidb-cloud/tidb-cloud-intro.md)
- [MySQL Compatibility](/mysql-compatibility.md)

Choose a reason for hiding this comment

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

low

According to the style guide (lines 32-33), headings should be in sentence case. Consider changing "Why TiDB Cloud" to "Why TiDB Cloud" to follow this guideline.

Style Guide References

Suggested change
- [TiDB Cloud Introduction](/tidb-cloud/tidb-cloud-intro.md)
- [MySQL Compatibility](/mysql-compatibility.md)
8:- Why TiDB Cloud
9: - [TiDB Cloud Introduction](/tidb-cloud/tidb-cloud-intro.md)

Comment on lines +11 to +13
- Get Started with TiDB Cloud
- [Try Out TiDB Cloud Serverless](/tidb-cloud/tidb-cloud-quickstart.md)
- [Try Out TiDB + AI](/tidb-cloud/vector-search-get-started-using-python.md)

Choose a reason for hiding this comment

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

low

According to the style guide (lines 32-33), headings should be in sentence case. Consider changing "Get Started with TiDB Cloud" to "Get started with TiDB Cloud" to follow this guideline.

Style Guide References

Suggested change
- Get Started with TiDB Cloud
- [Try Out TiDB Cloud Serverless](/tidb-cloud/tidb-cloud-quickstart.md)
- [Try Out TiDB + AI](/tidb-cloud/vector-search-get-started-using-python.md)
10:- Get Started with TiDB Cloud
11: - [Try Out TiDB Cloud Serverless](/tidb-cloud/tidb-cloud-quickstart.md)

Comment on lines +157 to 158
- [Connect via Public Connection](/tidb-cloud/connect-via-standard-connection.md)
- [Connect via Private Endpoint with AWS](/tidb-cloud/set-up-private-endpoint-connections.md)

Choose a reason for hiding this comment

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

low

According to the style guide (lines 32-33), headings should be in sentence case. Consider changing "Connect via Public Connection" to "Connect via Public connection" to follow this guideline.

Style Guide References

Suggested change
- [Connect via Public Connection](/tidb-cloud/connect-via-standard-connection.md)
- [Connect via Private Endpoint with AWS](/tidb-cloud/set-up-private-endpoint-connections.md)
156: - Connect to Your TiDB Cloud Dedicated Cluster
157: - [Connect via Public Connection](/tidb-cloud/connect-via-standard-connection.md)

- Explore Data
- [Chat2Query (Beta)](/tidb-cloud/explore-data-with-chat2query.md)
- Data Service (Beta)
- [Chat2Query in SQL Editor](/tidb-cloud/explore-data-with-chat2query.md) ![BETA](/media/tidb-cloud/blank_transparent_placeholder.png)

Choose a reason for hiding this comment

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

low

It seems like there's a missing space before the ![BETA] tag. Adding a space would improve readability.

Suggested change
- [Chat2Query in SQL Editor](/tidb-cloud/explore-data-with-chat2query.md) ![BETA](/media/tidb-cloud/blank_transparent_placeholder.png)
280: - [Chat2Query in SQL Editor](/tidb-cloud/explore-data-with-chat2query.md) ![BETA](/media/tidb-cloud/blank_transparent_placeholder.png)

- Data Access Control
- [Encryption at Rest Using Customer-Managed Encryption Keys](/tidb-cloud/tidb-cloud-encrypt-cmek.md)
- Database Access Control
- [Configure Cluster Security Settings](/tidb-cloud/configure-security-settings.md)
- [Configure Cluster Password Settings](/tidb-cloud/configure-security-settings.md)

Choose a reason for hiding this comment

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

low

According to the style guide (lines 32-33), headings should be in sentence case. Consider changing "Configure Cluster Password Settings" to "Configure cluster password settings" to follow this guideline.

Style Guide References

Suggested change
- [Configure Cluster Password Settings](/tidb-cloud/configure-security-settings.md)
362: - Database Access Control
363: - [Configure Cluster Password Settings](/tidb-cloud/configure-security-settings.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/develop This PR relates to the area of TiDB App development. contribution This PR is from a community contributor. missing-translation-status This PR does not have translation status info. needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.