Expand description
Durable Streams state machine for Ursula.
Module map:
- [
command]: replicated command variants applied to the state machine. - [
response]: result variants and error codes returned per command. - [
model]: persistent data types (metadata, segments, producer state, plans). - [
snapshot]: snapshot wire format and restoration errors. - [
state_machine]: the deterministicStreamStateMachinethat drives a Raft group. - [
validate]: bucket/stream id validation used by HTTP and Raft entry points.
Structs§
- Append
Stream Input - Cold
Flush Candidate - Cold
GcEntry - One unit of deferred cold-storage reclamation. Enqueued deterministically in the state machine when a stream’s cold objects become unreferenced, drained asynchronously by the leader’s background GC worker.
- HotPayload
Segment - Object
Payload Ref - Producer
Append Record - Producer
Snapshot - Stream
Attrs - Stream
Batch Append - Stream
Batch Append Item - Stream
Bootstrap Plan - Stream
Integrity Snapshot - Stream
Message Record - Stream
Metadata - Stream
Read - Stream
Read Cold Index Segment - Stream
Read Cold Segment - Stream
Read Object Segment - Stream
Read Plan - Stream
Snapshot - Stream
Snapshot Entry - Stream
State Machine - Stream
Visible Snapshot
Enums§
- Cold
GcTarget - Stream
Command - Stream
Error Code - Stream
Error Context - Stream
Read Segment - Stream
Response - Stream
Snapshot Error - Stream
Status