Skip to content

*: fix 404 links in the v6.5 documentation - #21944

Merged
ti-chi-bot[bot] merged 4 commits into
pingcap:release-6.5from
lilin90:fix/broken-links-release-6.5-23899
Sep 20, 2026
Merged

ti-chi-bot[bot] merged 4 commits into
pingcap:release-6.5from
lilin90:fix/broken-links-release-6.5-23899

Conversation

@lilin90

@lilin90 lilin90 commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

First-time contributors' checklist

What is changed, added or deleted? (Required)

This PR fixes the 404 links that are still left in the release-6.5 branch, as requested in #17075.

#17041 fixed this kind of link in master and was cherry-picked only to release-8.0 and release-7.5, so release-6.5 still carries them. I checked every external link that this PR touches: the old URLs return 404 and the new ones return 200.

File(s) Before After
develop/dev-guide-sample-application-aws-lambda.md
develop/dev-guide-sample-application-nextjs.md
https://github.com/sidorares/node-mysql2/tree/master/documentation/en https://sidorares.github.io/node-mysql2/docs/documentation
tidb-lightning/tidb-lightning-overview.md
tidb-troubleshooting-map.md
https://github.com/pingcap/tidb/tree/master/br/pkg/lightning https://github.com/pingcap/tidb/tree/release-6.5/br/pkg/lightning
br/br-snapshot-guide.md
faq/backup-and-restore-faq.md
https://github.com/pingcap/tidb/blob/master/br/pkg/restore/systable_restore.go#L31 https://github.com/pingcap/tidb/blob/release-6.5/br/pkg/restore/systable_restore.go#L31
releases/release-6.5.7.md https://github.com/AilinKid} https://github.com/AilinKid
releases/release-6.5.7.md https://github.com/zhangjinpeng1987 https://github.com/zhangjinpeng87

Three notes on the approach:

  • The pingcap/tidb source links are pinned to release-6.5 instead of master. br: not support executing backup task and restore task at the same time (#16223) #17041 pointed them to master, but in master these paths have moved again (br/pkg/lightning to lightning, and br/pkg/restore/systable_restore.go to br/pkg/restore/snap_client). Both paths still exist in the release-6.5 branch of pingcap/tidb, release-7.5 already uses this version-pinned form, and it keeps the linked source consistent with the TiDB version that this documentation describes. Please let me know if you would rather follow the master form used in br: not support executing backup task and restore task at the same time (#16223) #17041.
  • The aliases change from br: not support executing backup task and restore task at the same time (#16223) #17041 is not ported. Those aliases cover /tidb/dev/... URLs for develop/dev-guide-sample-application-java-jdbc.md. No document in this branch links to the old path, and the corresponding /tidb/v6.5/... URL never existed, so the aliases are not needed here.
  • Two pre-existing dead links are left untouched. develop/dev-guide-sample-application-aws-lambda.md and develop/dev-guide-sample-application-nextjs.md still link to https://ask.pingcap.com/ and https://support.pingcap.com/, which no longer resolve. They appear in 74 and 79 files across this branch and master has replaced the whole "Need help?" block, so fixing them here would be inconsistent and out of scope. I am happy to file a separate issue or PR for them. Note that this may make the Links (Fail Fast) job report these two files.

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)
  • v6.5 (TiDB 6.5 versions)
  • v6.4 (TiDB 6.4 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)

The fix is version-specific because each branch has to point at its own pingcap/tidb branch, so no cherry-pick label is added. A separate PR covers release-7.1.

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

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

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

Summary by CodeRabbit

  • Documentation
    • Updated restore guidance links to reference the appropriate TiDB source branch.
    • Refreshed AWS Lambda and Next.js guides with current mysql2 documentation links for connection pools, prepared statements, and general usage.
    • Updated the TiDB Lightning troubleshooting link to the current source branch.
    • Corrected contributor attribution and formatting in the TiDB 6.5.7 release notes.
    • Improved consistency across Chinese- and English-language mysql2 documentation references.

Copilot AI lite review requested due to automatic review settings September 20, 2026 06:46
@lilin90 lilin90 added area/develop This PR relates to the area of TiDB App development. needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. translation/from-docs This PR is translated from a PR in pingcap/docs. labels Sep 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ti-chi-bot

ti-chi-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

@coderabbitai[bot]: 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.

@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 20, 2026
@lilin90 lilin90 self-assigned this Sep 20, 2026
@lilin90 lilin90 added type/bugfix This PR fixes a bug. and removed needs-ok-to-test Indicates a PR created by contributors and need ORG member send '/ok-to-test' to start testing. labels Sep 20, 2026
Synced from: pingcap/docs#23899
Target PR: pingcap#21944

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Auto-sync completed successfully

Source PR: pingcap/docs#23899
Target PR: #21944

Chinese documentation has been updated based on English documentation changes.

@ti-chi-bot ti-chi-bot Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 20, 2026
@coderabbitai

coderabbitai Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: e3298d22-6b17-4026-870d-f69b33eb0ed5

📥 Commits

Reviewing files that changed from the base of the PR and between 4817458 and 9c646c1.

📒 Files selected for processing (2)
  • develop/dev-guide-sample-application-aws-lambda.md
  • develop/dev-guide-sample-application-nextjs.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • develop/dev-guide-sample-application-nextjs.md
  • develop/dev-guide-sample-application-aws-lambda.md

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The PR updates TiDB and mysql2 documentation links and corrects two contributor names in the TiDB 6.5.7 release notes.

Changes

Documentation Corrections

Layer / File(s) Summary
Restore and troubleshooting links
br/br-snapshot-guide.md, faq/backup-and-restore-faq.md, tidb-troubleshooting-map.md
Restore links now target the TiDB 6.5 source branch. The TiDB Lightning link now targets the master branch.
mysql2 guide links
develop/dev-guide-sample-application-aws-lambda.md, develop/dev-guide-sample-application-nextjs.md
The guides now use mysql2 documentation-site links for connection pools, prepared statements, and official documentation.
Release note name corrections
releases/release-6.5.7.md
Two contributor names are corrected in the TiDB 6.5.7 release notes.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: fixing 404 links in the v6.5 documentation. The leading "*:" is minor noise but does not make the title misleading.
Description check ✅ Passed The description is complete and relevant. It explains the changes, affected v6.5 version, related issue and PR links, AI involvement, branch-specific scope, and known out-of-scope links.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks each link with care
TiDB paths now point where they should
mysql2 guides lead readers there
Two names stand clear in release wood
Neat notes rest beneath the moon

Comment @coderabbitai help to get the list of available commands.

Comment thread develop/dev-guide-sample-application-aws-lambda.md Outdated
Comment thread develop/dev-guide-sample-application-nextjs.md Outdated
Replace outdated mysql2 documentation URLs with the current Chinese docs in the AWS Lambda and Next.js sample application guides.
@lilin90 lilin90 added the lgtm label Sep 20, 2026
@lilin90

lilin90 commented Sep 20, 2026

Copy link
Copy Markdown
Member Author

/approve

@ti-chi-bot

ti-chi-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lilin90

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 Sep 20, 2026
@ti-chi-bot
ti-chi-bot Bot merged commit 8824aab into pingcap:release-6.5 Sep 20, 2026
7 of 8 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 size/S Denotes a PR that changes 10-29 lines, ignoring generated files. translation/from-docs This PR is translated from a PR in pingcap/docs. type/bugfix This PR fixes a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants