Move storage initialization into the backend executable

This commit is contained in:
2026-11-30 20:23:23 +08:00
parent 66be7099ec
commit af9f25baa5
11 changed files with 64 additions and 74 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ mode, and the loaded configuration version for the instance that served the
request. `BEDROCK_CONFIG_VERSION` can override the reported version label. The
admin router reads the same resolved configuration the process used to open the
database. Give every replica the same config file and version label through your
deployment process. The root `bedrock` binary remains the one-shot storage
initializer.
deployment process. Run `cargo run --locked -p backend -- --init-storage` for one-shot storage
initialization. The release process uses the same mode.
## Database configuration