pingcap / pingcap/tidb

Consider rolling back the transaction when an error occurs

Open
#64,364 0 comments 0 reactions 0 assignees View on GitHub
component/statistics sig/planner 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/5aea168cd9bbd0e7e475bf7ea219292ea033c644/pkg/statistics/handle/bootstrap.go#L804

Here we only return the error back, but didn't rollback the txn.

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.