Module tikv::storage::mvcc [−][src]
Multi-version concurrency control functionality.
Modules
consistency_check | |
metrics | |
reader | |
test_util | |
tests | |
txn |
Structs
Error | |
GC_DELETE_VERSIONS_HISTOGRAM | |
GcInfo | |
Key | Key type. |
Lock | |
MVCC_VERSIONS_HISTOGRAM | |
MvccConsistencyCheckObserver | |
MvccInfoIterator | |
MvccReader | |
MvccTxn | An abstraction of a locally-transactional MVCC key-value store |
OverlappedWrite | |
PointGetter | This struct can be used to get the value of user keys. Internally, rollbacks are ignored and smaller version will be tried. If the isolation level is Si, locks will be checked first. |
PointGetterBuilder |
|
ReleasedLock |
|
ScannerBuilder | |
SnapshotReader | Read from an MVCC snapshot, i.e., a logical view of the database at a specific timestamp (the start_ts). |
TimeStamp | |
Write | |
WriteRef |
Enums
ErrorInner | |
LockType | |
Mutation | A row mutation. |
NewerTsCheckState | |
Scanner | |
TxnCommitRecord | The result of |
WriteType |
Constants
MAX_TXN_WRITE_SIZE | |
SHORT_VALUE_MAX_LEN |
Functions
default_not_found_error | Generates |
has_data_in_range | |
seek_for_valid_write | Seek for the next valid (write type == Put or Delete) write record. The write cursor must indicate a data key of the user key of which ts <= after_ts. Return None if cannot find any valid write record. |
Type Definitions
DeltaScanner | This scanner scans all entries whose commit_ts (or locks’ start_ts) is in range (from_ts, cfg.ts]. |
EntryScanner | This scanner is like |
Result | |
Value | Value type which is essentially raw bytes. |