Skip to content

Commit a408db1

Browse files
committed
refer to an issue in ghostferry instead of an internal one
1 parent 4ea968d commit a408db1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/source/copydbforeignkey.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
Running ``ghostferry-copydb`` in production for tables with Foreign Key Constraints
55
===================================================================================
66

7-
Migrating tables with foreign keys constraints is an experimental feature in copydb and should be used at your own risk in production.
7+
Migrating tables with foreign keys constraints is an experimental feature in copydb and should be used at your own risk in production. Currently migrating tables with foreign key constraints is only possible
8+
if the source database is in read_only mode. Since tables with foreign key constraints can have referential actions for a foreign key such as ``ON DELETE CASCADE``, ``ON UPDATE CASCADE``. Cascading deletes and updates
9+
in child tablees caused by foreign key constraints don't show up in binlogs because these referential actions are dealt internally by InnoDB. This issue descibes briefly why the source database should be
10+
read_only during the migration - https://github.com/Shopify/ghostferry/issues/289.
811

912

1013
Prerequisites

0 commit comments

Comments
 (0)