DM internal tables does not have PK so can't work with sql_require_primary_key=ON #11786
Labels
area/dm
Issues or PRs related to DM.
may-affects-5.4
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
may-affects-8.5
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
turn on sql_require_primary_key and run DM
What did you expect to see?
no error
What did you see instead?
Unable to create or change a table without a primary key, when the system variable 'sql_require_primary_key' is set. Add a primary key to the table or unset this variable to avoid this message. Note that tables without a primary key can cause performance problems in row-based replication, so please consult your DBA before changing this setting.
Versions of the cluster
all version
current status of DM cluster (execute
query-status <task-name>
in dmctl)(paste current status of DM cluster here)
ref pingcap/tidb#57479
The text was updated successfully, but these errors were encountered: