retry on unknown RPC error from TiKV #43291
Labels
affects-6.5
affects-7.1
component/lightning
This issue is related to Lightning of TiDB.
severity/moderate
type/bug
The issue is confirmed as a bug.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
met a case when write to tikv, report error
rpc error: code = Unknown desc = EngineTraits(Engine(Status { code: IoError, sub_code: None, sev: NoError, state: \"IO error: No such file or directory: while stat a file for size: /...../63992d9c-fbc8-4708-b963-32495b299027_32279707_325_5280_write.sst: No such file or directory\"
, should retry on this.annotate write error with peer/region/store info to help debug
print log when failed to import table with real error stack.
common.NormalizeOrWrapErr
has bug that it may replace the stack.(will not fix in the related pr, can fix it later.)The text was updated successfully, but these errors were encountered: