Crate mz_storage_controller
source ยท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. - A storage controller for a storage instance.
- Ingestion
State ๐State maintained about ingestions and ingestion exports - Status
History ๐Desc A description of a status history collection.
Enumsยง
- Collection
State ๐Extra Additional state that the controller maintains for select collection types.
Functionsยง
- Seed
StorageTxn
with any state required to instantiate aStorageController
. - snapshot ๐
- snapshot_
statistics ๐Get the current rows in the given statistics table. This is used to bootstrap the statistics tasks. - Warm up persist state for
shard_ids
in a background task.