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

Error tips: unknown field #902

Closed
shhdgit opened this issue Apr 26, 2021 · 4 comments · Fixed by #930
Closed

Error tips: unknown field #902

shhdgit opened this issue Apr 26, 2021 · 4 comments · Fixed by #930
Labels

Comments

@shhdgit
Copy link
Member

shhdgit commented Apr 26, 2021

Bug Report

What did you do?

Open slowquery page in dashboard after cluster upgrade.

What did you expect to see?

See the slowquery data.

What did you see instead?

Error tips without correct data.

  • error.api.other: unknown field sql
  • error.api.other: unknown field Time

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?

v4.0.9

@shhdgit
Copy link
Member Author

shhdgit commented Apr 26, 2021

This is caused by that old column name store in LocalStorage and can be temporarily solved by cleaning up browser's LocalStorage.
image

@breezewish
Copy link
Member

As a tip, I think you can record it in our FAQ and make sure that there is no problem when upgrading to later versions.

@shhdgit
Copy link
Member Author

shhdgit commented Apr 27, 2021

Yeah, I was thinking whether it would be a good option to clean up user preferences after dashboard version change. Or just filter the data by schema.

@unbyte
Copy link
Contributor

unbyte commented Apr 27, 2021

I believe we can make dashboard automatically handle such a version migration by maintaining version number of local storage schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants