Enum UnitOfWorkState
State machine for UoW lifecycle. Transitions are one-way.
public enum UnitOfWorkState : byte
Fields
Committed = 3Data pages checkpointed. WAL segments recyclable.
Free = 0Slot available for reuse. Default state for zeroed memory.
Pending = 1Created, transactions may be in progress. WAL records volatile.
Void = 4Crash recovery: UoW was Pending at crash time. All revisions invisible.
WalDurable = 2WAL flush complete (FUA). Survives crash. Pages may still be dirty.
Remarks
Free → Pending → WalDurable → Committed → Free (normal path)
Free → Pending → Void → Free (crash recovery path, after GC)