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

# Functions

CollectTiFlashStatus query sync status of one table from TiFlash store.
ComputeTiFlashStatus is helper function for CollectTiFlashStatus.
GetTiFlashTableIDFromEndKey computes tableID from pd rule's endKey.
NewFrameItemFromRegionKey creates a FrameItem with region's startKey or endKey, returns err when key is illegal.
NewHelper gets a Helper from Storage.
NewIndexWithKeyRange constructs TableInfoWithKeyRange for given index, it is exported only for test.
NewRegionFrameRange init a NewRegionFrameRange with region info.
NewTableWithKeyRange constructs TableInfoWithKeyRange for given table, it is exported only for test.
SyncTableSchemaToTiFlash query sync schema of one table to TiFlash store.

# Constants

Constants that used to distinguish the hot region info request.
Constants that used to distinguish the hot region info request.
MaxBackoffTimeoutForMvccGet is a derived value from previous implementation possible experiencing value 5000ms.

# Structs

FrameItem includes a index's or record's meta data with table's info.
Helper is a middleware to get some information from tikv/pd.
HotTableIndex contains region and its table/index info.
MvccKV wraps the key's mvcc info in tikv.
RegionFrameRange contains a frame range info which the region covered.
RegionMetric presents the final metric output entry.
TableInfo stores the information of a table or an index.
TableInfoWithKeyRange stores table or index information with its key range.
TblIndex stores the things to index one table.

# Interfaces

Storage represents a storage that connects TiKV.