DM: gh-ost --cut-over=two-step compatibility #7468
Labels
affects-6.1
affects-6.4
area/dm
Issues or PRs related to DM.
severity/minor
type/bug
The issue is confirmed as a bug.
What did you do?
Setup a dm cluster and online schema change by gh-ost --cut-over=two-step
gh-ost
--user="root"
--password="root"
--host=10.10.10.101
--port=3336
--database="test"
--table="test"
--alter="add column c3 varchar(32)"
--switch-to-rbr
--cut-over=two-step
--cut-over-lock-timeout-seconds=1
--initially-drop-old-table
--initially-drop-ghost-table
--initially-drop-socket-file
--ok-to-drop-table
--approve-renamed-columns
--max-load='Threads_running=100,Threads_connected=500'
--default-retries=3600
--allow-on-master
--execute
What did you expect to see?
Downstream TiDB can alter table via online DDL successfully
What did you see instead?
Origin table has been renamed to _test_del, which is gh-ost trash table.
Versions of the cluster
DM version (run
dmctl -V
ordm-worker -V
ordm-master -V
):Upstream MySQL/MariaDB server version:
Server version: 5.7.39-log MySQL Community Server (GPL)
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):How did you deploy DM: tiup or manually?
tiup
Other interesting information (system version, hardware config, etc):
current status of DM cluster (execute
query-status <task-name>
in dmctl)The text was updated successfully, but these errors were encountered: