Patch command corner case when using a wrong tar.gz file. #846
Labels
category/usability
Categorizes issue or PR as a usability enhancement.
status/TODO
Categorizes issue as we will do it.
type/bug
Categorizes issue as related to a bug.
Milestone
Bug Report
Please answer these questions before submitting your issue. Thanks!
Step 1: Patch a tar.gz file build by Jenkins.
1. tar tidb-server.tar.gz, it will remove tidb-server binary and create tidb-server directory (There is a directory named tidb-server in tidb repo).
2. tidb-server directory can't execute so that tidb will restart failed.
Step 2: Patch a tar.gz file right.
1. tar can't replace the directory to the right binary file.
In Step 1, the bin directory should be polluted if the tar.gz file is invalid.
In Step 2, the file/directory should be replaced successfully.
Get some tar error. And it can't back to normal by tiup itself.
tiup --version
)?The text was updated successfully, but these errors were encountered: