pingcap / pingcap/tidb

External storage reuse previous reader when finish a `loadBatchRegionData`

Open
#51,688 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.