Closed
Description
opened on Nov 30, 2023
What did you do?
Setup DM with MariaDB 10.6.11
[2023/11/29 11:17:55.229 +02:00]
[DPANIC]
[tracker.go:206]
["unexpected statement type"]
[task=demo-mariadb-tidb]
[unit="binlog replication"]
[component=schema-tracker]
[task=demo-mariadb-tidb]
[type=*ast.SetStmt]
[stack="github.com/pingcap/tiflow/dm/pkg/schema.(*Tracker).Exec\n\tgithub.com/pingcap/tiflow/dm/pkg/schema/tracker.go:206\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).loadTableStructureFromDump\n\tgithub.com/pingcap/tiflow/dm/syncer/syncer.go:3068\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).Run\n\tgithub.com/pingcap/tiflow/dm/syncer/syncer.go:1856\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).Process\n\tgithub.com/pingcap/tiflow/dm/syncer/syncer.go:757"]
[2023/11/29 11:17:55.231 +02:00]
[INFO]
[syncer.go:1688]
["received ungraceful exit ctx, exit now"]
[task=demo-mariadb-tidb]
[unit="binlog replication"]
panic: interface conversion: ast.StmtNode is *ast.SetStmt, not *ast.CreateTableStmt
goroutine 1807 [running]:
github.com/pingcap/tiflow/dm/syncer.(*Syncer).loadTableStructureFromDump(0xc000cb7200, {0x4a54438, 0xc00105dd10})
github.com/pingcap/tiflow/dm/syncer/syncer.go:3079 +0x1ce9
github.com/pingcap/tiflow/dm/syncer.(*Syncer).Run(0xc000cb7200, {0x4a54438?, 0xc00105dd10?})
github.com/pingcap/tiflow/dm/syncer/syncer.go:1856 +0xcd6
github.com/pingcap/tiflow/dm/syncer.(*Syncer).Process(0xc000cb7200, {0x4a54438, 0xc00105dcc0}, 0x0?)
github.com/pingcap/tiflow/dm/syncer/syncer.go:757 +0x325
created by github.com/pingcap/tiflow/dm/worker.(*SubTask).run in goroutine 1707
github.com/pingcap/tiflow/dm/worker/subtask.go:242 +0x53b
What did you expect to see?
No response
What did you see instead?
No response
Versions of the cluster
Master @ 13499f4
current status of DM cluster (execute query-status <task-name>
in dmctl)
(paste current status of DM cluster here)
Metadata
Assignees
Labels
Type
Projects
Status
Done
Activity