Optimize reorganize partition backfill data copying
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
In #60132 to be fully consistent we check all rows in the new reorganized partition by reading them before writing them, to avoid overwriting concurrent DMLs (insert/update), but it should be possible to optimize the optimistic path, by trying to write and fail if the key already exists, by using the `PresumeKeyNotExists`.
Contributor guide
Assessment
This issue has not been assessed yet.