-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
truncate table error,bug? #35284
Comments
After reading the code, it seems that this problem is caused by "scale-in the old PD servers too early". TiDB sets its |
using tiup to scale in old pd nodes, it can auto transfer the pd leader to new pd node , is it right? |
oh, the mean you are that i have to wait at least 30s before transfer pd leader to new pd node? |
I am not sure about this, we better use
No, I mean we should wait for at least 30s after the leader transfer. |
thank you very much |
/close |
@JmPotato: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bug Report
tiup scale-out pd(three new pd),then scale-in old pd (three old pd)
exec truncate table,throw error:
1. Minimal reproduce step (Required)
tiup scale-out new pd,then scale-in old pd
exec truncate table
2. What did you expect to see? (Required)
exec success
3. What did you see instead (Required)
exec failed
4. What is your TiDB version? (Required)
5.3.0
The text was updated successfully, but these errors were encountered: