pingcap / tiup

A component manager for TiDB

Home Page:https://tiup.io

Repository from Github https://github.compingcap/tiupRepository from Github https://github.compingcap/tiup

tiup upgrade failed with error “Error: rename /root/.tiup/storage/cluster/packages/pd-v8.3.0-alpha-nightly-linux-amd64.tar.gz /root/.tiup/storage/cluster/packages/pd-nightly-linux-amd64.tar.gz: no such file or directory”

Lily2025 opened this issue · comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    upgrade from 8.1.1 to nightly

  2. What did you expect to see?
    upgrade success

  3. What did you see instead?
    upgrade failed
    Error: rename /root/.tiup/storage/cluster/packages/pd-v8.3.0-alpha-nightly-linux-amd64.tar.gz /root/.tiup/storage/cluster/packages/pd-nightly-linux-amd64.tar.gz: no such file or directory

logs:
tiup-cluster-debug-2024-08-15-13-53-32.log

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

/severity major

/assign xhebox

commented

Root cause: parallel downloads of the same component(nightly version only bug), should be able to workaround by giving downloaded file a temporary suffix/prefix.