Skip to main content

initialize_deployment_checkpoint_store

Function initialize_deployment_checkpoint_store 

Source
pub fn initialize_deployment_checkpoint_store() -> Result<DeploymentStoreInit>
Expand description

Create the empty checkpoint store for an explicitly provisioned fresh node, or reuse a healthy retained one. Ordinary resolver startup never calls this, so missing history fails closed.

Reboot-idempotent: a retained store that opens and reads back cleanly is reported as DeploymentStoreInit::Reused without any write; invalid retained state (garbage, empty directory, unreadable store) fails closed.