package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewMockTikvStore creates a mocked tikv store, the path is the file path to store the data.
WithCluster provides the customized cluster.
WithHijackClient hijacks KV client's behavior, makes it easy to simulate the network problem between TiDB and TiKV.
WithMVCCStore provides the customized mvcc store.
WithPath specifies the mocktikv path.
WithTxnLocalLatches enable txnLocalLatches, when capacity > 0.
# Structs
MockDriver is in memory mock TiKV driver.
# Type aliases
MockTiKVStoreOption is used to control some behavior of mock tikv.