Skip to main content

Module control

Module control 

Source
Expand description

Typed namespace control-object loaders and verified catalog state. Consumed by loonfs’s cache and write paths, and re-exported as loonfs::control for the white-box layout assertions the server and this crate’s own tests make.

Structs§

BasisManifest
The manifest a basis resolves to, and who owns the objects it names.
ControlObjectIdentity
LoadedHeadControl
LoadedMetadataRootControl
LoadedWalFloorControl
VerifiedNamespaceCatalogEntry
The namespace’s spec-immutable identity: the content store it publishes file bytes into and the name policy its keys are computed under.

Enums§

ControlObjectLoadError
MetadataBasis
The materialized starting point every read and flush builds on.
NamespaceCatalogLoadError

Functions§

load_namespace_catalog_entry
Loads the namespace’s immutable identity for a caller holding no head.
load_namespace_checkpoint_record_control
load_namespace_head_control
load_namespace_metadata_root_control
load_namespace_read_anchor
Loads the head together with the metadata basis it authorizes, as one consistent read anchor (see [read_head_and_metadata_root_if_present] for the race rule).
load_namespace_wal_floor_control