Incorrect store size in grafana
Open
Nobody has claimed this yet.
component/storage
good first issue
help wanted
severity/moderate
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
restart tiflash in a tidb cluster.
2. What did you expect to see? (Required)
get the real store size as soon as tiflash started.
3. What did you see instead (Required)
grows from 0 to real store size slowly after tiflash started.

4. What is your TiFlash version? (Required)
master
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by restarting TiFlash in a TiDB cluster and observe the Grafana store-size panel shown in the report. Trace the store-size metric from TiFlash startup to Grafana; done when the panel reports the real store size as soon as TiFlash starts rather than growing from zero.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, grafana
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100