Startup Sequence
Cold Start
- Load configuration from canonical source (file or vault)
- Validate all external dependencies: database, object store, message queue, GPU nodes
- Connect to ModelRegistry and DatasetRegistry; verify schema version
- Initialize worker pools: MergeEngine, EvaluationEngine, EvolutionEngine
- Run health checks on every service endpoint
- Mark cluster READY; expose metrics and API
Warm Start
A warm start skips dependency validation if the operator confirms all dependencies are healthy. It resumes from checkpointed worker pool state. Use warm start after a rolling restart or configuration reload.- Load configuration
- Skip dependency validation (operator flag)
- Restore worker pool state from snapshot
- Run abbreviated health checks
- Mark cluster READY
Shutdown Procedures
Graceful Shutdown
- Reject new experiment submissions via API
- Wait for active merges and evaluations to complete (configurable timeout, default 300 seconds)
- Flush ExperimentTracker buffers to persistent store
- Close registry connections
- Terminate worker pools
- Mark cluster STOPPED
Forced Shutdown
Use only when graceful shutdown would exceed operational limits (e.g., imminent power loss).- Immediately cancel all active tasks
- Flush buffers with best effort
- Terminate all processes
- On next startup, the cluster runs a consistency check against the registry and replays incomplete experiments from the last checkpoint