FK constraint might not enforced when child table is in state write_only #55813
Labels
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
use the case in the design doc:
tidb/docs/design/2022-06-22-foreign-key.md
Lines 104 to 115 in b71f6c3
steps:
child
, checkadmin show ddl jobs 1
to make sure child is in write_only state.2. What did you expect to see? (Required)
FK constraint enforced
3. What did you see instead (Required)
it's not
4. What is your TiDB version? (Required)
8.1.0
The text was updated successfully, but these errors were encountered: