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

6.4 upgrade to v6.5.0-alpha, occur ["unexpected error"] [error="[meta:1050]table already exists"] #39909

Closed
River2000i opened this issue Dec 14, 2022 · 4 comments
Labels
may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 severity/critical type/bug The issue is confirmed as a bug.

Comments

@River2000i
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. cluster upgrade to v6.5.0-alpha

2. What did you expect to see? (Required)

upgrade success

3. What did you see instead (Required)

one tidb-server down
[2022/12/14 11:44:07.910 +08:00] [INFO] [main.go:359] ["disable Prometheus push client"]
[2022/12/14 11:44:07.910 +08:00] [INFO] [store.go:75] ["new store"] [path=tikv://${replaced}:2379,${replaced}:2379,${replaced}:2379]
[2022/12/14 11:44:07.910 +08:00] [INFO] [client.go:405] ["[pd] create pd client with endpoints"] [pd-address="[172.16.4.36:2379,172.16.4.45:2379,172.16.4.46:2379]"]
[2022/12/14 11:44:07.910 +08:00] [INFO] [main.go:359] ["disable Prometheus push client"]
[2022/12/14 11:44:07.910 +08:00] [INFO] [store.go:75] ["new store"] [path=tikv://172.16.4.36:2379,172.16.4.45:2379,172.16.4.46:2379]
[2022/12/14 11:44:07.910 +08:00] [INFO] [client.go:405] ["[pd] create pd client with endpoints"] [pd-address="[${replaced}:2379,${replaced}:2379,${replaced}:2379]"]
[2022/12/14 11:44:07.910 +08:00] [INFO] [systime_mon.go:26] ["start system time monitor"]
[2022/12/14 11:44:07.915 +08:00] [INFO] [base_client.go:378] ["[pd] switch leader"] [new-leader=http://${replaced}:2379] [old-leader=]
[2022/12/14 11:44:07.915 +08:00] [INFO] [base_client.go:105] ["[pd] init cluster id"] [cluster-id=6924974196193154247]
[2022/12/14 11:44:07.915 +08:00] [INFO] [client.go:698] ["[pd] tso dispatcher created"] [dc-location=global]
[2022/12/14 11:44:07.916 +08:00] [INFO] [store.go:81] ["new store with retry success"]
[2022/12/14 11:44:07.930 +08:00] [INFO] [ddl_api.go:1039] ["Automatically convert BLOB(65535) to MEDIUMBLOB"]
[2022/12/14 11:44:07.932 +08:00] [FATAL] [terror.go:300] ["unexpected error"] [error="[meta:1050]table already exists"] [stack="github.com/pingcap/tidb/parser/terror.MustNil\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/parser/terror/terror.go:300\nmain.createStoreAndDomain\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:313\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:213\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"] [stack="github.com/pingcap/tidb/parser/terror.MustNil\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/parser/terror/terror.go:300\nmain.createStoreAndDomain\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:313\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:213\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"]

4. What is your TiDB version? (Required)

[2022/12/14 11:44:07.909 +08:00] [INFO] [printer.go:34] ["Welcome to TiDB."] ["Release Version"=v6.5.0-alpha] [Edition=Community] ["Git Commit Hash"=827d8ff2d22ac4c93ae1b841b79d468211e1d393] ["Git Branch"=heads/refs/tags/v6.5.0-alpha] ["UTC Build Time"="2022-12-13 14:32:59"] [GoVersion=go1.19.3] ["Race Enabled"=false] ["Check Table Before Drop"=false] ["TiKV Min Version"=6.2.0-alpha]

@River2000i River2000i added the type/bug The issue is confirmed as a bug. label Dec 14, 2022
@River2000i
Copy link
Contributor Author

/severity critical

@ti-chi-bot ti-chi-bot added severity/critical may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 labels Dec 14, 2022
@Defined2014
Copy link
Contributor

Think it's same as #39854, please try the newest master commit.

@wjhuang2016
Copy link
Member

Can't reproduce.

@River2000i
Copy link
Contributor Author

Can't reproduce.

Since i get the master binary from mirror, but the tag is v6.5.0-alpha...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants