Skip to main content

Module schema_metadata

Module schema_metadata 

Source
Expand description

Static metadata for downgrade planning.

Migrator::migrations() owns the executable migration order. This module keeps the user-facing downgrade metadata in the same crate so release checks can ensure every migration has an explicit reversibility and cache-impact decision before a new binary ships.

Structs§

MigrationMetadata
Downgrade metadata for one migration.

Constants§

ACTIVE_CONFIG_MIGRATION_ID
Migration that introduced desired-vs-active sandbox config tracking.
BASELINE_0_6_0_MIGRATIONS
Frozen migration baseline for the transitional 0.6.0 release.
CPU_ALLOCATION_MIGRATION_ID
Migration that introduces cooperative host CPU allocation state.
DOWNGRADE_FLOOR
Oldest release supported by the downgrade flow.
MAINTENANCE_LEASE_MIGRATION_ID
Migration that introduced the DB-backed maintenance lease table.
MEMORY_ALLOCATION_NODES_MIGRATION_ID
Migration that records per-NUMA-node guest memory promises for CPU allocations.
MIGRATION_METADATA
Metadata for every migration in Migrator::migrations() order.
SANDBOX_LABEL_REBUILD_MIGRATION_ID
Migration that rebuilds the sandbox label index from persisted configs.
SCHEMA_BASELINE_FORMAT_VERSION
Version of the hidden schema-baseline JSON shape emitted by the CLI.
SHARED_CPU_ALLOCATION_MIGRATION_ID
Migration that permits several managed vCPUs to share one host logical processor.
SNAPSHOT_ARTIFACT_TRANSITION_MIGRATION_ID
Migration that projects final snapshot state and journals legacy conversion.
SNAPSHOT_SCOPE_MIGRATION_ID
Migration that adds payload scope metadata to the snapshot index.
WRITEBACK_ALLOCATION_MIGRATION_ID
Migration that introduces host-global writeback dirty-credit reservations.

Functions§

canonical_applied_prefix
Resolve an unordered collection of applied migration identifiers to its canonical prefix.
migration_ids
Return all migration identifiers in schema order.