early terminate in the process of creating a playground cause an error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
I accidently terminate in the process of creating a playground, then everytime I try to execute tiup playground command I will meet the error below.

It seems that the reason is I terminate the progress before the .tar.gz file in ~/.tiup/component/tikv decompressed.

I decompress the file by myself and then successfully create a playground.
-
What did you expect to see?
Perhaps this can be detected automatically? -
What version of TiUP are you using (
tiup --version)?
1.10.2 tiup
Go Version: go1.18.3
Contributor guide
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 reproducing the interrupted tiup playground flow with TiUP 1.10.2 and inspect the incomplete archive extraction under ~/.tiup/component/tikv. Trace how the command handles an interrupted .tar.gz decompression; done means the incomplete state is detected or recovered automatically and tiup playground succeeds afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100