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

search_logs: Always return empty result #665

Closed
baurine opened this issue Jul 1, 2020 · 7 comments
Closed

search_logs: Always return empty result #665

baurine opened this issue Jul 1, 2020 · 7 comments

Comments

@baurine
Copy link
Collaborator

baurine commented Jul 1, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

What did you do?

  1. Click "Search Logs" link on the left side menu to enter the search logs app.
  2. Choose "Recent 4 week" as time range, remain others with the default value
  3. Click "Search" button to start searching logs

What did you expect to see?

A non-empty table

What did you see instead?

An empty result table

image

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

Tried TiDB v4.0.0 , v4.0.1, nightly by tiup playground v4.0.0|v4.0.1|nightly --tiflash 0 command. All have this issue.

@breezewish
Copy link
Member

breezewish commented Jul 1, 2020

Looks to be caused by playground . We need further investigation. Would like to keep tracking on this problem? @baurine

@baurine
Copy link
Collaborator Author

baurine commented Jul 1, 2020

Sure.

@baurine
Copy link
Collaborator Author

baurine commented Jul 2, 2020

Some investigation results by using tiup-cluster to deploy the cluster.

Works fine in an old v4.0.0-rc cluster

企业微信20200702110111

企业微信20200702110054

Works fine in v4.0.0

企业微信20200702022340

企业微信20200702022328

@baurine
Copy link
Collaborator Author

baurine commented Jul 2, 2020

Continue to try v4.0.1 and nightly.

@baurine
Copy link
Collaborator Author

baurine commented Jul 2, 2020

After testing, it works fine in v4.0.1 and nightly as well. (omit the screenshots)

@baurine
Copy link
Collaborator Author

baurine commented Jul 3, 2020

The reason is that the playground outputs some illegal format logs to the log file. Submit an issue for tiup: pingcap/tiup#570

We can also polish the SearchLog logic (in sysutil and TiKV repo) to support to handle illegal logs.

@stale
Copy link

stale bot commented Sep 21, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the type/stale label Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants