External storage reuse previous reader when finish a `loadBatchRegionData`
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
in https://github.com/pingcap/tidb/blob/ccbab5eeb7e004802610daf9c6bd91918e568c8e/br/pkg/lightning/backend/external/engine.go#L352-L369
the data should be consecutive so we can reuse the connections from previous batch, to seekPropOffsets and readAllData
Contributor guide
Assessment
This issue has not been assessed yet.