Propose: Support something like 'GetPrevRegion' #1055
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
status/TODO
The issue will be done in the future.
type/enhancement
The issue or PR belongs to an enhancement.
We can not implement seekReverse feature in TiDB, because PD doesn't support function like
GetPrevRegion
to get the previous region of certain key.Image we have region A ---> B, when we reverse scan to regionB.startKey, we wanna continue to scan to region A, but we can not figure out the previous key of regionB.startKey, so we cannot use LocateKey() to get the region A.
The text was updated successfully, but these errors were encountered: