Skip to content

v8.5.6: dm experimentally supports foreign key (#21523)#21542

Merged
ti-chi-bot[bot] merged 2 commits intopingcap:feature/preview-v8.5.6from
ti-chi-bot:cherry-pick-21523-to-release-8.5
Apr 14, 2026
Merged

v8.5.6: dm experimentally supports foreign key (#21523)#21542
ti-chi-bot[bot] merged 2 commits intopingcap:feature/preview-v8.5.6from
ti-chi-bot:cherry-pick-21523-to-release-8.5

Conversation

@ti-chi-bot
Copy link
Copy Markdown
Member

This is an automated cherry-pick of #21523

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

@ti-chi-bot ti-chi-bot added lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR. labels Apr 13, 2026
@Oreoxmt Oreoxmt changed the base branch from release-8.5 to feature/preview-v8.5.6 April 13, 2026 06:00
@Oreoxmt
Copy link
Copy Markdown
Collaborator

Oreoxmt commented Apr 13, 2026

/cc @Oreoxmt

@ti-chi-bot ti-chi-bot bot requested a review from Oreoxmt April 13, 2026 06:00
@Oreoxmt
Copy link
Copy Markdown
Collaborator

Oreoxmt commented Apr 14, 2026

/approve

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 14, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Oreoxmt

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 Apr 14, 2026
@ti-chi-bot ti-chi-bot bot merged commit b61456d into pingcap:feature/preview-v8.5.6 Apr 14, 2026
10 checks passed
@ti-chi-bot ti-chi-bot bot deleted the cherry-pick-21523-to-release-8.5 branch April 14, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. type/cherry-pick-for-release-8.5 This PR is cherry-picked to release-8.5 from a source PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants