-
Notifications
You must be signed in to change notification settings - Fork 409
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
TiFlash can't gc totally after set tiflash replica 0 #4414
Comments
Reproduce it locally. The remaining data doesn't correspond to any region range in the tiflash node. And this is a possible case in the cluster, and tikv handle this case by remove garbage ranges at restart: https://github.com/tikv/tikv/blob/b5559844ce26a453900ca64c86902647dc807e28/components/raftstore/src/store/fsm/store.rs. So this is a normal behavior and is not a bug. The remaining data is in the range: [216172782114912251, 216172782117644718] tiflash log: |
This pr #4500 just fix the following two problems:
The problem that some data left on tiflash node when all region is removed will be fixed later. @CalvinNeo |
Sending snapshots may change start_key and end_key, TiKV will delete range regularly, or at least before shutdown. However, these messages will not be delivered to TiFlash. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)
v6.0
The text was updated successfully, but these errors were encountered: