package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

# Functions

BuildKeyRanges is used for test, quickly build key ranges from paired keys.
NewKeyRanges constructs a KeyRanges instance.
NewRegionBatchRequestSender creates a RegionBatchRequestSender object.
NewRegionCache returns a new RegionCache.
NewStore creates a new store instance.

# Constants

Maximum total sleep time(in ms) for kv/cop commands.
32 is the initial batch size of TiKV.
DetectPeriod detect period.
DetectTimeoutLimit detect timeout.
MaxObsoletTimeLimit no request for a long time,that might be obsoleted.
MaxRecoveryTimeLimit wait TiFlash recovery,more than MPPStoreFailTTL.
MockResponseSizeForTest mock the response size.
TiFlashReadTimeoutUltraLong represents the max time that tiflash request may take, since it may scan many regions for tiflash.
UnspecifiedLimit means no limit.

# Variables

GlobalMPPFailedStoreProber mpp failed store probe.

# Structs

CopClient is coprocessor client.
CopRuntimeStats contains execution detail information.
KeyRanges is like []kv.KeyRange, but may has extra elements at head/tail.
LocationKeyRanges wraps a real Location in PD and its logical ranges info.
MPPClient servers MPP requests.
MPPFailedStoreProber use for detecting of failed TiFlash instance.
MPPStoreState the state for MPPStore.
RegionBatchRequestSender sends BatchCop requests to TiFlash server by stream way.
RegionCache wraps tikv.RegionCache.
RegionInfo contains region related information for batchCopTask.
Store wraps tikv.KVStore and provides coprocessor utilities.

# Interfaces

CopInfo is used to expose functions of copIterator.
HasUnconsumedCopRuntimeStats indicate whether has unconsumed CopRuntimeStats.

# Type aliases

Backoffer wraps tikv.Backoffer and converts the error which returns by the functions of tikv.Backoffer to tidb error.