Bedrock.ControlPlane.Director.Recovery.InitializationPhase (bedrock v0.6.0)
View SourceCreates the initial transaction system layout for a new cluster.
Runs only when no logs existed in the previous layout. Creates log vacancy placeholders for the desired number of logs and the default two-shard layout. Uses vacancy placeholders instead of assigning specific services immediately.
Log vacancies are assigned initial version ranges [0, 1] to establish the starting point for transaction processing. The shard layout divides the keyspace with a fundamental user/system boundary - one shard handles user data (empty string to 0xFF), the other handles system data (0xFF to end-of-keyspace).
Creating vacancies rather than immediate service assignment allows later phases to optimize placement across available nodes and handle assignment failures independently.
Always succeeds since it only creates in-memory structures. Transitions to log recruitment to begin service assignment.