cloud: document the TiDB X foreign key shared lock gate - #23479
Conversation
Add the experimental TiDB X configuration and clarify the system variable prerequisite. Document how persisted or restored ON values behave across upgrades.
|
Skipping CI for Draft Pull Request. |
|
[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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe documentation adds the TiDB X experimental configuration for shared-lock foreign key checks. It documents the prerequisite, default behavior, persisted-value behavior, and production-use warning. ChangesForeign key shared-lock documentation
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
/label version-specific-changes-required |
|
@wfxr: The label(s) DetailsIn 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 ti-community-infra/tichi repository. |
|
/label requires-version-specific-changes |
|
/hold |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Document the experimental
[experimental].allow-enable-foreign-key-check-in-shared-lockconfiguration for TiDB X and clarify its interaction withtidb_foreign_key_check_in_shared_lock.NOTE
This change applies only to TiDB X deployments used by TiDB Cloud Premium and Essential v2. It does not apply to TiDB Self-Managed (OP) or other classic TiDB deployments. The feature is experimental and has not reached general availability (GA).
ON.ONvalue that has already been persisted or restored.The related TiDB change was merged into TiDB
master, but it only changes the behavior of TiDB X. This documentation PR targetsrelease-8.5, which is the source branch for the current TiDB Cloud documentation. The documentation team can decide whether to apply the change to docsmasterduring review.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)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
allow-enable-foreign-key-check-in-shared-locksetting, including its default behavior and effect on existing enabled values.