Skip to main content

Module env

Module env 

Source
Expand description

SimEnv: the shard runtime’s I/O on a simulated disk and clock.

Structs§

Machine
State shared by all shards of one simulated machine.
Offload
How the simulated shared log treats records over its offload threshold.
SimDevice
The shared log’s segment files on the simulated disk (wal/), or its blob area’s files (blob/, which grow by appends; a crash resolves their pending writes like any others’, independently of the log’s).
SimEnv
SimLog
The shared log of one simulated machine (log format 3): one write in flight, completed by the world after a random latency.

Enums§

Io
Scheduled I/O completions, owned by the world.

Type Aliases§

MachineRef
SimLogRef