Module tikv::storage::txn [−][src]
Storage Transactions
Re-exports
pub use self::commands::Command; |
pub use self::scheduler::Scheduler; |
Modules
| actions | This file contains the “actions” we perform on a |
| commands | Commands used in the transaction system |
| latch | |
| sched_pool | |
| scheduler | Scheduler which schedules the execution of |
| store | |
| tests |
Structs
| EntryBatch | A batch of transaction entries. |
| Error | |
| FixtureStore | A Store that reads on fixtures. |
| FixtureStoreScanner | A Scanner that scans on fixtures. |
| Latches | Latches which are used for concurrency control in the scheduler. |
| Lock | Lock required for a command. |
| SnapshotStore | |
| TransactionProperties |
Enums
| CommitKind | |
| ErrorInner | |
| ProcessResult | Process result of a command. |
| TransactionKind | |
| TxnEntry | A transaction entry in underlying storage. |
Constants
| RESOLVE_LOCK_BATCH_SIZE |
Traits
| Scanner |
|
| Store | |
| TxnEntryScanner |
|
| TxnEntryStore |
Functions
| acquire_pessimistic_lock | |
| cleanup | Cleanup the lock if it’s TTL has expired, comparing with |
| commit | |
| gc | |
| prewrite | Prewrite a single mutation by creating and storing a lock and value. |
Type Definitions
| Result |