package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetTS gets a timestamp.
InternalRegionMetaKey returns internal region meta key with the given region id.
NewDBWriter returns a new DBWriter.
NewDetector creates a new Detector.
NewDetectorClient will create a new detector util, entryTTL is used for recycling the lock wait edge in detector wait wap.
NewDetectorServer creates local detector used by RPC detection handler.
NewMockPD returns a new MockPD.
NewMockRegionManager returns a new MockRegionManager.
NewMVCCStore creates a new MVCCStore.
NewServer returns a new server.
NewStandAloneRegionManager returns a new standalone region manager.
NewStandAlongInnerServer returns a new StandAlongInnerServer.
# Variables
InternalKey.
InternalKey.
InternalKey.
InternalKey.
# Structs
Detector detects deadlock.
DetectorClient represents a detector client.
DetectorServer represents a detector server.
GCCompactionFilter implements the badger.CompactionFilter interface.
LockPair contains a pair of key and lock.
MockPD implements gRPC PDServer.
MockRegionManager implements RegionManager interface.
MPPTaskHandlerMap is a map of *cophandler.MPPTaskHandler.
MVCCStore is a wrapper of badger.DB to provide MVCC functions.
RegionError represents a region error.
RegionOptions represents the region options.
SafePoint represents a safe point.
SecondaryLocksStatus is the result of `CheckSecondaryLocksStatus` API.
Server implements the tikvpb.TikvServer interface.
StandAloneRegionManager represents a standalone region manager.
StandAlongInnerServer implements the InnerServer interface.
TxnStatus is the result of `CheckTxnStatus` API.
# Interfaces
InnerServer defines the inner server interface.
RegionCtx defines the region context interface.
RegionManager defines the region manager interface.