Enum DurabilityDiscipline
- Namespace
- Typhon.Schema.Definition
- Assembly
- Typhon.Schema.Definition.dll
Runtime durability discipline for a SingleVersion-layout component — selected per transaction, orthogonal to the design-time
StorageMode (which fixes the cluster layout) and to the per-UoW DurabilityMode (which fixes flush timing).
public enum DurabilityDiscipline : byte
Fields
Commit = 1Writes are staged per transaction and made atomic + zero-loss durable at
Transaction.Commitvia a logical-redo WAL record, then published in place — read-committed isolation, O(1) rollback, no revision chain. For writes that must not be lost and must be all-or-nothing (teleport, item pickup) without paying for MVCC.TickFence = 0Default. In-place writes, last-writer-wins, durability batched at the tick fence (≤1-tick loss). Maximum throughput for high-frequency, loss-tolerant data (position, velocity, health).
Remarks
The discipline is a transaction-time knob on the existing per-UoW durability axis; it does NOT change a component's storage layout and is NOT a new StorageMode value. It only applies to the SingleVersion layout — Versioned is always commit-scoped and Transient is never durable.
See claude/design/Ecs/committed-storage-mode.md (the authoritative feature spec).