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

tidb fatal error metadata lock is null after upgrade #39450

Closed
AkiraXie opened this issue Nov 29, 2022 · 1 comment · Fixed by #39451
Closed

tidb fatal error metadata lock is null after upgrade #39450

AkiraXie opened this issue Nov 29, 2022 · 1 comment · Fixed by #39451
Labels
feature/developing the related feature is in development severity/critical type/bug The issue is confirmed as a bug.

Comments

@AkiraXie
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. upgrade tidb from master to master

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

  1. no error

3. What did you see instead (Required)

{"pod":"maincluster-tidb-5","log":"[terror.go:300] ["unexpected error"] [error="metadata lock is null"] [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:311\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:211\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:311\nmain.main\n\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/tidb-server/main.go:211\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"]","level":"FATAL","namespace":"stable-testbed-47l4r","container":"tidb"}

4. What is your TiDB version? (Required)

origin version:
Release Version: v6.5.0-alpha
Edition: Community
Git Commit Hash: b296494
Git Branch: heads/refs/tags/v6.5.0-alpha
UTC Build Time: 2022-11-17 05:02:52
GoVersion: go1.19.2
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: unistore

target version:
Release Version: v6.5.0-alpha
Edition: Community
Git Commit Hash: 5b9d96b
Git Branch: heads/refs/tags/v6.5.0-alpha
UTC Build Time: 2022-11-28 11:15:07
GoVersion: go1.19.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: unistore

@AkiraXie AkiraXie added the type/bug The issue is confirmed as a bug. label Nov 29, 2022
@AkiraXie
Copy link
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 Nov 29, 2022
@jebter jebter added feature/developing the related feature is in development and 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 Nov 29, 2022
@AkiraXie AkiraXie changed the title tidb fatal error after upgrade tidb fatal error metadata lock is null after upgrade Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/developing the related feature is in development severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants