pingcap / pingcap/tiup

tiup cluster takes too much time to start

Open
#334 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty/medium type/duplicate
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

execute time tiup cluster --help it takes more than 9 seconds to return

time tiup cluster --help
...
real	0m8.657s
user	0m0.415s
sys	0m0.280s

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running time tiup cluster --help and confirm the reported delay. Trace the tiup cluster help entry point to identify where startup time is spent. Done means the command returns substantially faster than the reported 9 seconds without changing its help output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.