Expand description
Implementation of the storage controller trait.
Modules§
- collection_
mgmt 🔒 - Tokio tasks (and support machinery) for maintaining storage-managed collections.
- history 🔒
- A reducible history of storage commands.
- instance 🔒
- A controller for a storage instance.
- persist_
handles 🔒 - A tokio tasks (and support machinery) for dealing with the persist handles that the storage controller needs to hold.
- rtr 🔒
- Implementation of real-time recency.
- statistics 🔒
- A tokio task (and support machinery) for producing storage statistics.
Structs§
- Collection
State 🔒 - State maintained about individual collections.
- Controller
- A storage controller for a storage instance.
- Ingestion
State 🔒 - State maintained about ingestions and ingestion exports
- Pending
Oneshot 🔒Ingestion - Status
History 🔒Desc - A description of a status history collection.
Enums§
- Collection
State 🔒Extra - Additional state that the controller maintains for select collection types.
- Status
History 🔒Retention Policy
Functions§
- prepare_
initialization - Seed
StorageTxn
with any state required to instantiate aStorageController
. - privatelink_
status_ 🔒history_ desc - read_
handle_ 🔒for_ snapshot - replica_
status_ 🔒history_ desc - sink_
status_ 🔒history_ desc - snapshot_
statistics 🔒 - Get the current rows in the given statistics table. This is used to bootstrap the statistics tasks.
- source_
status_ 🔒history_ desc - swap_
updates 🔒 - Replace one antichain with another, tracking the overall changes in the returned
ChangeBatch
. - warm_
persist_ 🔒state_ in_ background - Warm up persist state for
shard_ids
in a background task.