br txn for backup and recovery Error,startKey > endKey
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
## 1. Minimal reproduce step (Required)
I only used TikV, not Tidb; There was a problem when using br txn for backup and recovery, and the storage location is bucket of cephrgw .The version of tikv is v6.5.3
Here are my steps:
1 First created two tikv clusters
2 Juicefs uses one of the tikv clusters as a metadata engine and creates 400000 empty files,

3 Successfully backed up using the br tool,

4 Error reported when using the br tool to restore data to a new cluster
Error: startKey > endKey, startKey: 6a66733031fd4174ff3804000000000049ff0000000000000000f7, endkey: 0000000000000000f7: [BR:Restore:ErrRestoreInvalidRange]invalid restore range
5 View the logs of the br tool

### 2. What did you expect to see? (Required)
Successfully restored data to the new tikv cluster using the br tool。
### 3. What did you see instead (Required)
Error: startKey > endKey, startKey: 6a66733031fd4174ff3804000000000049ff0000000000000000f7, endkey: 0000000000000000f7: [BR:Restore:ErrRestoreInvalidRange]invalid restore range
### 4. What is your TiDB version? (Required)
I only used TikV, not Tidb; The version of tikv is v6.5.3
The above is the entire usage process. Please give me some ideas or other help,Thank you so much.
Contributor guide
Assessment
This issue has not been assessed yet.