-
Notifications
You must be signed in to change notification settings - Fork 412
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
KVStore: spurious region overlap may happen when two region are both applying snapshots #9329
Comments
overlapped range. When applying region_id=144958, it meets overlapped range of region_id=144187
The information get from pd
However the region of 144187, already has the correct range here
ditto 144958
In prospect of proxy, both regions have correct(not overlapped) range when snapshot is applied
Region 144187
Put these ranges in order, we get
It does not show any evidence of overlapping. So we can conculude that the reason here is that we use an obsolette range of region 144187. Check region 144187 with tikv-ctl, it is also correct
The reason:
|
region_id=144187 created by split @ 22:37 from region_id=140192 before apply snapshot
region_id=140192
|
…g snapshots (pingcap#9330) close pingcap#9329 Signed-off-by: Calvin Neo <calvinneo1995@gmail.com> Co-authored-by: JaySon <tshent@qq.com> Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
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)
881a80d
The text was updated successfully, but these errors were encountered: