pingcap / pingcap/tiup

Component is not unarchived if interrupted the last time

Open
#1,077 2 comments 0 reactions 0 assignees View on GitHub

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

  1. 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.

  1. What did you expect to see?

Unarchive the downloaded tar. I can also accept redownloading the archive.

  1. What did you see instead?

It didn't help me unarchive it nor redownload it.

  1. What version of TiUP are you using (tiup --version)?

v1.3.1

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.