-
Notifications
You must be signed in to change notification settings - Fork 502
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
PD pods created due to failover are not deleted after the failed pods recover #2161
Comments
PD status:
Pod Status:
|
We're running into the same problem with tikv. Is there a recommended workaround for this? |
@jamiechapmanbrn TiDB Operator does not delete the TiKV pods that created during failover because it involves data migration. If the failed TiKV Pods recover, you can follow the doc here to remove the newly created pods. |
Bug Report
What version of Kubernetes are you using?
1.12.8
What version of TiDB Operator are you using?
1.1.0-rc.1
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
local-storage
What's the status of the TiDB cluster pods?
Running
What did you do?
I have 3 pd pods, then pd-1 failed, after 5 minutes, pd-3 is created, but I only have 3 nodes, so pd-3 is in Pending State, after 5 minutes, pd-4 is created and also in Pending state, then pd-1 is Ready
What did you expect to see?
pd-3 and pd-4 are deleted because my 3 pd pods are all ready now.
What did you see instead?
pd-3 and pd-4 are in Pending state forever.
The text was updated successfully, but these errors were encountered: