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

upgrade from 3.1.1 to 4.0.0 rc2 fails #17292

Closed
wjhuang2016 opened this issue May 19, 2020 · 0 comments · Fixed by #17293
Closed

upgrade from 3.1.1 to 4.0.0 rc2 fails #17292

wjhuang2016 opened this issue May 19, 2020 · 0 comments · Fixed by #17293
Labels
severity/critical type/bug The issue is confirmed as a bug.

Comments

@wjhuang2016
Copy link
Member

wjhuang2016 commented May 19, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

git checkout v3.1.1
make && run
exit
git checkout v4.0.0-rc.2
make && run

[2020/05/19 19:05:28.386 +08:00] [INFO] [ddl_worker.go:130] ["[ddl] start DDL worker"] [worker="worker 4, tp add index"]
[2020/05/19 19:05:28.389 +08:00] [INFO] [domain.go:144] ["full load InfoSchema success"] [usedSchemaVersion=0] [neededSchemaVersion=39] ["start time"=2.534285ms]
[2020/05/19 19:05:28.389 +08:00] [INFO] [domain.go:368] ["full load and reset schema validator"]
[2020/05/19 19:05:28.391 +08:00] [WARN] [cache.go:274] ["load mysql.user fail"] [error="[planner:1054]Unknown column 'reload_priv' in 'field list'"]
[2020/05/19 19:05:28.392 +08:00] [FATAL] [terror.go:348] ["unexpected error"] [error="[privilege:8049]mysql.user"] [stack="github.com/pingcap/log.Fatal\n\t/Users/bba/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/pingcap/log@v0.0.0-20200117041106-d28c14d3b1cd/global.go:59\ngithub.com/pingcap/parser/terror.MustNil\n\t/Users/bba/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/pingcap/parser@v0.0.0-20200427031542-879c7bd4f27d/terror/terror.go:348\nmain.createStoreAndDomain\n\t/Users/bba/pc/tidb/tidb-server/main.go:296\nmain.main\n\t/Users/bba/pc/tidb/tidb-server/main.go:181\nruntime.main\n\t/Users/bba/.gvm/gos/go1.13/src/runtime/proc.go:203"]

4. Affected version (Required)

v3.1.1

5. Root Cause Analysis

The server version 39 in v3.1.1 is not consistent with v4.0+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants