Skip to content

mirror: Downloading tiup every time, while already exists #1704

@dveeden

Description

@dveeden

Bug Report

  1. What did you do?
tiup mirror clone /tmp/c --tidb v5.3.0
tiup mirror clone /tmp/c --tidb v5.3.0
  1. What did you expect to see?

Only downloading files the first time. (except for metadata)

  1. What did you see instead?

Downloading files like tiup-linux-arm64.tar.gz every time.

  1. What version of TiUP are you using (tiup --version)?
1.8.1 tiup
Go Version: go1.17.5
Git Ref: v1.8.1
GitHash: 559b99d0acb7d07acddbb8cda0304b0f27c6ec1e

If a mirror is refreshed every day or every hour this is wasting time, bandwidth, etc.

One of the problems is that there is no version in the filename for tiup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugCategorizes issue as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions