Skip to content

v8.5.6: dm experimentally supports foreign key#21523

Open
Oreoxmt wants to merge 2 commits intopingcap:masterfrom
Oreoxmt:translate/docs-22616
Open

v8.5.6: dm experimentally supports foreign key#21523
Oreoxmt wants to merge 2 commits intopingcap:masterfrom
Oreoxmt:translate/docs-22616

Conversation

@Oreoxmt
Copy link
Copy Markdown
Collaborator

@Oreoxmt Oreoxmt commented Apr 9, 2026

First-time contributors' checklist

What is changed, added or deleted? (Required)

  • Update four docs pages to document DM's experimental foreign key support shipping in v8.5.6
  • Covers three engineering PRs: tiflow#12351 (safe mode FK), tiflow#12414 (multi-worker causality), tiflow#12329 (DDL whitelist)
  • All behaviors validated against a live build (v8.5.5-12-gd6d53adbe) with 13 test scenarios, all passing
File Change
dm/dm-safe-mode.md Add "Foreign key handling (experimental)" section: non-key UPDATE optimization, session-level FK_CHECKS toggle, multi-worker causality. Add forward-reference from Working principle.
dm/dm-compatibility-catalog.md Rename "Incompatibility with FK CASCADE" to "FK CASCADE operations". Add experimental support with validated constraints (PK/UK guardrail, DDL rejection, routing, BAL ancestor, ON UPDATE CASCADE mismatch).
dm/dm-precheck.md Update FK warning: TiDB supports FKs (GA since v8.5.0), DM experimental since v8.5.6.
foreign-key.md Replace "DM does not support foreign keys" with experimental v8.5.6 support, warning, and backward-compat note.

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.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)?

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

@Oreoxmt Oreoxmt self-assigned this Apr 9, 2026
@Oreoxmt Oreoxmt added translation/from-docs This PR is translated from a PR in pingcap/docs. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. labels Apr 9, 2026
@Oreoxmt
Copy link
Copy Markdown
Collaborator Author

Oreoxmt commented Apr 9, 2026

/hold

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 9, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 9, 2026

[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 ask for approval from oreoxmt. 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.

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

@Oreoxmt
Copy link
Copy Markdown
Collaborator Author

Oreoxmt commented Apr 9, 2026

/cc @qiancai

@ti-chi-bot ti-chi-bot bot requested a review from qiancai April 9, 2026 06:45
@ti-chi-bot ti-chi-bot bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@qiancai qiancai left a comment

Choose a reason for hiding this comment

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

Rest LGTM

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Apr 10, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 10, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-04-10 05:03:35.533473827 +0000 UTC m=+1105420.738833874: ☑️ agreed by qiancai.

Co-authored-by: Grace Cai <qqzczy@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-1-more-lgtm Indicates a PR needs 1 more LGTM. needs-cherry-pick-release-8.5 Should cherry pick this PR to release-8.5 branch. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/from-docs This PR is translated from a PR in pingcap/docs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants