troubleshoot-tidb-cluster: fix TiDB error message text - #23621
Conversation
The correct error text (per pkg/errno/errname.go's ErrInfoSchemaExpired in pingcap/tidb) is "Information schema is out of date" with a space between "Information" and "schema", not "InformationSchema" as one word.
|
Warning Review limit reachedNext included review available in 31 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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. Comment |
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What is changed, added or deleted? (Required)
Found while reviewing a Japanese translation fix (CodeRabbit review on #23618):
troubleshoot-tidb-cluster.mdsays the error message isInformationSchema is out of date(one word), but this doesn't match the actual TiDB error text.Verified against
ErrInfoSchemaExpiredin pingcap/tidb:https://github.com/pingcap/tidb/blob/1f9469913409f0c6bf4a946c51948ebdfc2d2bb8/pkg/errno/errname.go#L991
The correct text is
Information schema is out of date(with a space between "Information" and "schema"), matching 7 other occurrences of this string elsewhere in this same docs corpus (faq/sql-faq.md, severalreleases/*.mdfiles,tidb-troubleshooting-map.md). Only this one file had the wrong spelling.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?