package
0.0.0-20230410094002-959c02d50f95
Repository: https://github.com/vescale/zgraph.git
Documentation: pkg.go.dev
# Functions
BackoffErrReporter reports backoff error events.
IsTombstone returns whether the value is a tombstone.
NewBufferBatchGetter creates a new BufferBatchGetter.
NewUnionIter returns a union SnapshotIter for BufferStore.
NewUnionStore builds a new unionStore.
Open returns a new storage instance.
# Variables
CommitMaxBackoff is max sleep time of the 'commit' command.
20s.
PrewriteMaxBackoff is max sleep time of the `pre-write` command.
# Structs
BufferBatchGetter is the type for BatchGet with MemBuffer.
KVSnapshot represent the MVCC snapshot of the low-level key/value store.
MemDB is rollbackable Red-Black Tree optimized for TiDB's transaction states buffer use scenario.
MemDBCheckpoint is the checkpoint of memory DB.
MemDBIter is an Iterator with KeyFlags related functions.
MemKeyHandle represents a pointer for key in MemBuffer.
SnapshotIter represents a iterator which provides a consistent view of key/value store.
Txn represents a transaction implemented beyond the low-level key/value storage.
UnionIter is the SnapshotIter on an UnionStore.
UnionStore is an in-memory Store which contains a buffer for write and a snapshot for read.
# Interfaces
BatchBufferGetter is the interface for BatchGet.
# Type aliases
No description provided by the author