package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
ToTiDBErr checks and converts a tikv error to a tidb error.
# Variables
ErrGCTooEarly is the error that GC life time is shorter than transaction duration.
ErrLockAcquireFailAndNoWaitSet is the error that acquire the lock failed while no wait is set.
ErrLockWaitTimeout is the error that wait for the lock is timeout.
ErrPDServerTimeout is the error when pd server is timeout.
ErrQueryInterrupted is the error when the query is interrupted.
ErrRegionUnavailable is the error when region is not available.
tikv error instance.
ErrResourceGroupConfigUnavailable is the error when resource group configuration is unavailable.
ErrResourceGroupNotExists is the error when resource group does not exist.
ErrResourceGroupThrottled is the error when resource group is exceeded quota limitation.
ErrTiFlashServerBusy is the error that tiflash server is busy.
tikv error instance.
ErrTiKVMaxTimestampNotSynced is the error that tikv's max timestamp is not synced.
ErrTiKVServerBusy is the error when tikv server is busy.
ErrTiKVServerTimeout is the error when tikv server is timeout.
ErrTiKVStaleCommand is the error that the command is stale in tikv.
ErrTokenLimit is the error that token is up to the limit.
ErrUnknown is the unknow error.