-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after tiup destroy, some node still have tikv-xxx directory. reuse tiup deploy success. but start cluster error. #1047
Comments
Could you please post the destroy step and logs here? |
[tidb6wu@ip-172-16-5-192 ~]$ tiup cluster destroy tidb-01
|
[tidb6wu@ip-172-16-5-192 audit]$ tiup cluster audit fwVwHt8XCqn 2021-01-11T20:44:46+08:00 /home/tidb6wu/.tiup/components/cluster/v1.3.1/tiup-cluster destroy tidb-01 |
/home/tidb6wu/.tiup/components/cluster/v1.3.1/tiup-cluster destroy tidb-01 |
need more logs? thanks. |
From the log you provided, seems the data-dir of TiKV and other components were not deleted. So Is this a 100 percent recurring problem? If it is, could you please provide your topology.yaml file? And before the |
[tidb6wu@ip-172-16-5-192 ~]$ tiup cluster display tidb-01 xxx.xxx.5.121:29093 alertmanager xxx.xxx.5.121 29093/29094 linux/x86_64 Up /home/tidb6wu/tidb1-alertmanager-29093 /home/tidb6wu/tidb1-deploy/alertmanager-29093 |
This is this a 100 percent recurring problem. |
You can recrrring this problem again on yourself architecture. |
yes, you are right. thanks. |
Thanks for your report, and for this usage scenario, I'll add some checking steps. |
@mengling2012 @9547 Thanks for investigating. Maybe we should forbid deploying cluster with log dir under data dir... It's very risky... We support a |
I'll file a pr to check this condition, it's wip
|
Thank you |
Bug Report
Please answer these questions before submitting your issue. Thanks!
tiup destroy cluster , then tiup deploy same cluster. tiup deploy success,but start cluster failed.
tiup start ok.
What did you see instead?
tiup start failed.
What version of TiUP are you using (
tiup --version
)?tiup --version
v1.3.1 tiup
Go Version: go1.13
Git Branch: release-1.3
GitHash: d51bd0c
The text was updated successfully, but these errors were encountered: