-
Notifications
You must be signed in to change notification settings - Fork 411
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
Potential data loss after changing the number of TiFlash replicas #9438
Comments
In v8.1.0 and v8.1.1, if the tiflash replica num is set to 0, If all the regions are removed from the tiflash instance, and the However, there could be a chance that data loss due to a concurrent issue:
|
For LTS, only v8.1.0 and v8.1.1 are affected. release-7.5 is not affected because we comment out the "drop table" action when alter tiflash replica to 0 Older versions are also not affected because there is no such mechanism. |
) close #9438 ddl: Do not physical drop table after tiflash replica is set to 0 To avoid a potential data loss issue when altering tiflash replica
) (#9441) close #9438 ddl: Do not physical drop table after tiflash replica is set to 0 To avoid a potential data loss issue when altering tiflash replica Co-authored-by: JaySon-Huang <[email protected]>
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
The TiFlash replica is built correctly
3. What did you see instead (Required)
There is a chance that data loss happened after step 3
4. What is your TiFlash version? (Required)
v8.1.1
The text was updated successfully, but these errors were encountered: