pingcap / pingcap/tidb

Refine error handling for partialIndexWorker/partialTableWorker for IndexMerge

Open
#41,647 0 comments 0 reactions 1 assignee Claimed by @guo-shaoge View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
https://github.com/pingcap/tidb/blob/master/executor/index_merge_reader.go#L401

partialTableWorker and partialIndexWorker didn't handle error for `fetchHandles` and `SelectResult.Close()`, may cause error is ignored unexpectedly.

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.