tikv / tikv/pd

provide a way to check PD RPC client specific error class, or always retry

Open
#8,443 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Enhancement Task

There are some special error types like violation of WithOutputMustContainAllKeyRange. PD client should provide a function to let caller identify them quickly, rather than

https://github.com/tikv/pd/blob/e8c05e0e28e39e345b26f23de237879a90f9a752/client/client.go#L1715-L1725

Or it's better that PD client internally retry for these errors, because callers will retry anyway.

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.