Optimize TiFlash restart duration.
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Currently, if the data volume is huge, the restart duration could use several minutes. It can causes the "time out" error if starting TiFlash instance by tiup. We should find a way to shorten the duration.
2020.09.17 11:29:00.595381 [ 1 ] <Information> Application: Loading metadata.
...
2020.09.17 11:36:07.103585 [ 1 ] <Information> Application: Flash service registered

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
Start by tracing the TiFlash restart path from the logged “Loading metadata” step to “Flash service registered,” and examine how tiup determines the startup timeout. Profile the large-volume startup case and define completion as a materially shorter restart that no longer causes tiup timeouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases, performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100