GenerateSplitKey is less efficient and has some problems, such as wrong generate when start_key and end_key are same, and wrong generate when start_key is ""... Actually, we can replace GenerateSplitKey with GenerateTableKeys which is more line with test requirement
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/tikv/pd/blob/master/OWNERS)~~ [lhy1024,nolouch]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
What problem does this PR solve?
GenerateSplitKey
is less efficient and has some problems, such as wrong generate when start_key and end_key are same, and wrong generate when start_key is ""... Actually, we can replace GenerateSplitKey with GenerateTableKeys which is more line with test requirementIssue Number: Ref #8135
What is changed and how does it work?
Check List
Tests
Release note