Skip to content
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

DM: failed to upgrade tidb and parser dependency #4298

Closed
GMHDBJD opened this issue Jan 12, 2022 · 0 comments · Fixed by #4310
Closed

DM: failed to upgrade tidb and parser dependency #4298

GMHDBJD opened this issue Jan 12, 2022 · 0 comments · Fixed by #4310
Assignees
Labels
area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug.

Comments

@GMHDBJD
Copy link
Contributor

GMHDBJD commented Jan 12, 2022

What did you do?

go get github.com/pingcap/tidb@master
go get github.com/pingcap/tidb/parser@master
make dm-worker

What did you expect to see?

build successfully

What did you see instead?

make dm-worker
CGO_ENABLED=0 GO111MODULE=on go build  -trimpath  -ldflags '-X "github.com/pingcap/tiflow/pkg/version.ReleaseVersion=v5.4.0-master-dirty" -X "github.com/pingcap/tiflow/pkg/version.BuildTS=2022-01-12 07:54:10" -X "github.com/pingcap/tiflow/pkg/version.GitHash=9261014edd93902d1b0bcb473aec911e80901721" -X "github.com/pingcap/tiflow/pkg/version.GitBranch=master" -X "github.com/pingcap/tiflow/pkg/version.GoVersion=go version go1.16 linux/amd64" -X "github.com/pingcap/tiflow/dm/pkg/utils.ReleaseVersion=v5.4.0-master-dirty" -X "github.com/pingcap/tiflow/dm/pkg/utils.BuildTS=2022-01-12 07:54:10" -X "github.com/pingcap/tiflow/dm/pkg/utils.GitHash=9261014edd93902d1b0bcb473aec911e80901721" -X "github.com/pingcap/tiflow/dm/pkg/utils.GitBranch=master" -X "github.com/pingcap/tiflow/dm/pkg/utils.GoVersion=go version go1.16 linux/amd64"' -o bin/dm-worker ./dm/cmd/dm-worker
# github.com/pingcap/tiflow/dm/pkg/schema
dm/pkg/schema/tracker.go:370:41: too many arguments in call to tr.dom.DDL().CreateTableWithInfo
        have (session.Session, model.CIStr, *model.TableInfo, ddl.OnExist, bool)
        want (sessionctx.Context, model.CIStr, *model.TableInfo, ddl.OnExist)
make: *** [Makefile:254: dm-worker] Error 2

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

master

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dm Issues or PRs related to DM. type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant