pub const FIRST_BOOT_KEY: &[u8] = b"first-boot-pending";Expand description
The first-boot provisioning marker RocksDB key, written by
initialize_deployment_checkpoint_store and deleted by the registry in
the same WriteBatch as its first accepted-state commit. Re-exported so
the app crate’s QUIC startup gate and registry writer can share the exact
key.
RocksDB key for the first-boot provisioning marker.
Written by [initialize_deployment_store] (and any other path that creates
a fresh empty store) and deleted by the registry service in the same
synchronous WriteBatch as the first accepted-state commit — so the
lifecycle transition is atomic with provisioning completion, not a
best-effort filesystem side-effect. Its presence alongside an empty store
is the ONLY lifecycle evidence that distinguishes a genuine first boot
(store freshly provisioned, no accepted state written yet) from a
steady-state store that lost its data. The QUIC startup gate reads it via
[PdsRecordStore::first_boot_pending] in the app crate.