-
Notifications
You must be signed in to change notification settings - Fork 726
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
BatchScanRegions need to return an error to tell client regions exist hole for retry #8358
Comments
@okJiang Looks like after the proto change, TiKV code |
If you don't set the added parameter(contain_all_key_range), it will not return the added error type(REGIONS_NOT_CONTAIN_ALL_KEY_RANGE). So can you explain which problem do you meet? |
@okJiang hmm, from my side it's a compiler error that maybe I somehow use it wrong? I added a panic to bypass the complier to not blocking me but I don't think that's the correct way to do so asking for help. |
I am sorry that I am not familiar with rust... @YuJuncen Can you help to reply it?😂 |
@Tristan1900 You may just append |
@YuJuncen ok, I'm not sure how should we behave on TiKV side in response of this error so didn't add anything on my own. Sounds like this error will never happen on TiKV side? If we are sure about that I can add unreachable thing. |
I also meet this issue, any update ? |
Enhancement Task
ref
The text was updated successfully, but these errors were encountered: