pingcap / pingcap/tidb

Refinement of lightning error

Open
#33,624 2 comments 0 reactions 1 assignee Claimed by @buchuitoudegou View on GitHub
component/lightning type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Lightning tries automatically recovering from some retryable errors. Two function called `IsRetryableError` and `MessageIsRetryableStorageError` could provide us a hint to distinguish recoverable and unrecoverable errors. However, though they could check whether an error is retryable or not, in some situation, retryable error should also be caught rather than ignored (i.e. `recoverable != retryable`, ref: #33614)

It's necessary to refine the rules to check if an error is recoverable.

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.