-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
v4.0.16 upgrade to master(1130) fail #39527
Labels
found/automation
Found by automation tests
severity/critical
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Comments
seems caused by #39156, @fzzf678 PTAL
|
How can i test this in my local machine,must in k8s?M1 chips seems not support 4.0.16 |
Not must in k8s. Any v4.0.16 upgrade to master will cause this problem. Maybe you need a x86 machine to test it. modify diff --git a/config/config.toml.example b/config/config.toml.example
index 588379f20..14e7936b7 100644
--- a/config/config.toml.example
+++ b/config/config.toml.example
@@ -10,10 +10,10 @@ advertise-address = ""
port = 4000
# Registered store name, [tikv, mocktikv, unistore]
-store = "unistore"
+store = "tikv"
# TiDB storage path.
-path = "/tmp/tidb"
+path = "127.0.0.1:2379"
# The socket file to use for connection.
socket = "/tmp/tidb-{Port}.sock" then execute like below, @fzzf678 tiup playground v6.4.0 --db 0 --tiflash 0 --without-monitor
./tidb-server-4-0-16 --config=config/config.toml.example # use 4.0.16 to create system table
ctrl + c
./tidb-server --config=config/config.toml.example # use master to update system table |
ti-chi-bot
added
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 1, 2022
fzzf678
removed
may-affects-4.0
This bug maybe affects 4.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-5.0
This bug maybe affects 5.0.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
may-affects-6.4
labels
Dec 1, 2022
ti-chi-bot
added
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 1, 2022
seiya-annie
removed
severity/major
may-affects-4.0
This bug maybe affects 4.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-5.0
This bug maybe affects 5.0.x versions.
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
may-affects-6.4
labels
Dec 1, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Dec 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
found/automation
Found by automation tests
severity/critical
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
upgrade successfully
3. What did you see instead (Required)
tidb fail with:
tingli@tings-MacBook-Pro sqlfeature % kubectl -n brie-tidbmaster-comp-tps-1323534-1-906 logs upstream-tidb-0
start tidb-server ...
/tidb-server --store=tikv --advertise-address=upstream-tidb-0.upstream-tidb-peer.brie-tidbmaster-comp-tps-1323534-1-906.svc --host=0.0.0.0 --path=upstream-pd:2379 --config=/etc/tidb/tidb.toml
goroutine 1 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x19
github.com/pingcap/tidb/session.mustExecute({0x4f96ea0, 0xc000b3a000}, {0x48bf967, 0x88}, {0xc000cf80c0, 0x4, 0x4})
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/bootstrap.go:2309 +0x12c
github.com/pingcap/tidb/session.insertBuiltinBindInfoRow(...)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/bootstrap.go:1574
github.com/pingcap/tidb/session.upgradeToVer57({0x4f96ea0, 0xc000b3a000}, 0x48726c8?)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/bootstrap.go:1565 +0xb2
github.com/pingcap/tidb/session.upgrade({0x4f96ea0?, 0xc000b3a000?})
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/bootstrap.go:890 +0x582
github.com/pingcap/tidb/session.runInBootstrapSession({0x4f4ad90, 0xc000dc2690}, 0x49135d0)
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:3088 +0x20d
github.com/pingcap/tidb/session.BootstrapSession({0x4f4ad90, 0xc000dc2690})
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/session/session.go:2943 +0x259
main.createStoreAndDomain()
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:310 +0x1c5
main.main()
/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:211 +0x2ca
tingli@tings-MacBook-Pro sqlfeature %
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: