Skip to content
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

Need to check result of ScanRegions and BatchScanRegions #1376

Closed
you06 opened this issue Jul 2, 2024 · 0 comments · Fixed by #1377
Closed

Need to check result of ScanRegions and BatchScanRegions #1376

you06 opened this issue Jul 2, 2024 · 0 comments · Fixed by #1377

Comments

@you06
Copy link
Contributor

you06 commented Jul 2, 2024

ref pingcap/tidb#54375

The failpoint mocks the split region which is not reported to PD yet, thus the returned result of scan regions can have some gaps inside it. The PD's API caller must check if the returned regions can fully cover the given range or ranges.

The batch load functions are used by tikv coprocessor since 8.2 and tiflash coprocessor in earlier versions, which affects the correctness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant