Expand description
Versioned operation-record schema.
Structs§
- Isolation
Precondition - The oplog generation and logical keys a transaction observed before apply.
- OpBatch
- Group of operations recorded together.
- OpEntry
- Entry in the operation log.
- Thread
Update Snapshots - Optional ThreadManager record snapshots captured around a [
ThreadUpdate].
Enums§
- Conditional
Commit Outcome - Result of an exact-once append guarded by an isolation precondition.
- Conflict
Resolution Mode - How a conflict was resolved.
- Isolation
Key - Logical key used by conditional transaction commits to detect intervening same-thread changes.
- OpRecord
- Record of an operation that can be undone.
- Recorded
Head - A HEAD value captured in an operation record.
- Redaction
Undo Class - How a record participates in undo’s redaction-safety preflight.
Constants§
- CURRENT_
OP_ RECORD_ SCHEMA_ VERSION - OP_
VERB_ CATALOG - Every
(verb, is_checkpoint)pair the vocabulary contains, in variant-declaration order. Generated from the same catalog asOpRecord::verb, so it tracks the variant set with no drift. A verb shared by several variants appears once per variant; dedup at the use site (seeOpRecord::verbs).
Functions§
- decode_
current_ record - encode_
current_ record - is_
transaction_ commit - True when
recordis the atomic transaction commit marker. - is_
transaction_ commit_ for - True when
recordis the atomic transaction commit marker fortransaction_id. - isolation_
keys_ for_ record - The logical isolation keys touched by one committed record.
- validate_
op_ record_ schema_ version