-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPANIC with MariaDB 10.6 #10206
Labels
affects-6.3
affects-6.4
affects-7.1
affects-7.5
affects-8.1
area/dm
Issues or PRs related to DM.
MariaDB
This issue is found with MariaDB upstream
severity/moderate
type/bug
The issue is confirmed as a bug.
Comments
dveeden
added
area/dm
Issues or PRs related to DM.
type/bug
The issue is confirmed as a bug.
labels
Nov 30, 2023
Without any formatting:
|
With a small change to show what the SET statement is:
diff --git a/dm/pkg/schema/tracker.go b/dm/pkg/schema/tracker.go
index 9da3f49ff..063498e10 100644
--- a/dm/pkg/schema/tracker.go
+++ b/dm/pkg/schema/tracker.go
@@ -202,6 +202,10 @@ func (tr *Tracker) Exec(ctx context.Context, db string, stmt ast.StmtNode) (errR
case *ast.TruncateTableStmt:
ident := ast.Ident{Schema: v.Table.Schema, Name: v.Table.Name}
return tr.upstreamTracker.TruncateTable(tr.se, ident)
+ case *ast.SetStmt:
+ tr.logger.DPanic("Encountered SET statement",
+ zap.String("stmt", v.Text()),
+ )
default:
tr.logger.DPanic("unexpected statement type", zap.String("type", fmt.Sprintf("%T", v)))
} So the statement is |
|
/severity major |
Some notes about how to reproduce this: MariaDB
TiDB
DM
DM Config
Sourcesource-id: "mariadb-01"
from:
host: "127.0.0.1"
port: 3307
user: "root" Taskname: mariadb-to-tidb
mysql-instances:
- source-id: "mariadb-01"
block-allow-list: "test"
target-database:
host: "127.0.0.1"
port: 4000
user: "root"
block-allow-list:
test:
do-dbs: ["*"] |
lance6716
added
severity/moderate
and removed
may-affects-5.4
may-affects-6.1
may-affects-6.5
severity/major
labels
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.3
affects-6.4
affects-7.1
affects-7.5
affects-8.1
area/dm
Issues or PRs related to DM.
MariaDB
This issue is found with MariaDB upstream
severity/moderate
type/bug
The issue is confirmed as a bug.
What did you do?
Setup DM with MariaDB 10.6.11
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)
The text was updated successfully, but these errors were encountered: