Module storage_collections

Source
Expand description

An abstraction for dealing with storage collections.

ModulesΒ§

metrics πŸ”’

StructsΒ§

BackgroundTask πŸ”’
A task that keeps persist handles, downgrades sinces when asked, periodically gets recent uppers from them, and updates the shard collection state when needed.
CollectionFrontiers
Frontiers of the collection identified by id.
CollectionState πŸ”’
State maintained about individual collections.
FinalizeShardsTaskConfig πŸ”’
SnapshotCursor
A cursor over a snapshot, allowing us to read just part of a snapshot in its consolidated form.
SnapshotStatsRes πŸ”’
A newtype wrapper to hang a Debug impl off of.
StorageCollectionsImpl
Implementation of StorageCollections that is shallow-cloneable and uses a background task for doing work concurrently, in the background.

EnumsΒ§

BackgroundCmd πŸ”’
SinceHandleWrapper πŸ”’
Wraps either a β€œcritical” SinceHandle or a leased ReadHandle.
SnapshotStatsAsOf πŸ”’

TraitsΒ§

StorageCollections
An abstraction for keeping track of storage collections and managing access to them.

FunctionsΒ§

finalize_shards_task πŸ”’