Component is not unarchived if interrupted the last time
Open
Nobody has claimed this yet.
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
- What did you do?
I ran tiup cdc and interrupted it before it unarchived the tar.gz. Then the second time I ran tiup cdc, it says it is already installed.
- What did you expect to see?
Unarchive the downloaded tar. I can also accept redownloading the archive.
- What did you see instead?
It didn't help me unarchive it nor redownload it.
- What version of TiUP are you using (
tiup --version)?
v1.3.1
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
Reproduce the interrupted tiup cdc installation, then trace the component installation and tar.gz unarchive path used by the tiup cdc command. Confirm that a second run either completes unarchiving or redownloads the archive instead of reporting the component as already installed.
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