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

Incorrect uptime in grafana when tiflash meets supersize tables #5355

Closed
Lloyd-Pottiger opened this issue Jul 12, 2022 · 1 comment · Fixed by #5358
Closed

Incorrect uptime in grafana when tiflash meets supersize tables #5355

Lloyd-Pottiger opened this issue Jul 12, 2022 · 1 comment · Fixed by #5358
Assignees
Labels
severity/minor type/bug The issue is confirmed as a bug.

Comments

@Lloyd-Pottiger
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create a lot of tables in a TiDB cluster (maybe more than 100k).

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

uptime in grafana panel is correct.

3. What did you see instead (Required)

uptime is incorrect, keep as 8 minutes as time goes by.
image

4. What is your TiFlash version? (Required)

v6.1.0

@Lloyd-Pottiger Lloyd-Pottiger added type/bug The issue is confirmed as a bug. severity/minor labels Jul 12, 2022
@Lloyd-Pottiger Lloyd-Pottiger self-assigned this Jul 12, 2022
@Lloyd-Pottiger
Copy link
Contributor Author

maybe due to the bug of linux kernel which cause monotonic clock may not be monotonic sometimes. It may cause some operations to fail with "Timeout exceeded: elapsed 18446744073.709553 seconds".Takes previously returned value and returns it again if time stepped back for some reason.
ref to:
https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/Stopwatch.h#L19-L21

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

Successfully merging a pull request may close this issue.

1 participant