Keep earlier builds recoverable across region image upgrades
Complete the maintainer's server image bump to edb39f by also setting the region build identity, and add REGION_RETAINED so the host keeps the builds that wrote its history on its recovery allowlist; without it the upgraded host would quarantine its own head as unsupported. Record the M8.4 drill (rollout 3.0 s, forced deletion 19.3 s to Ready, epochs 3 to 5) and the maintainer's M8.5 sync. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,10 @@ spec:
|
||||
set -eu
|
||||
umask 077
|
||||
cp /run/postgres/pgpass /tmp/pgpass
|
||||
exec /usr/local/bin/evo-server --profile lineage \
|
||||
# Builds that wrote this region's history stay recoverable (ADR-0068).
|
||||
retained=()
|
||||
for build in $REGION_RETAINED; do retained+=(--retained "$build"); done
|
||||
exec /usr/local/bin/evo-server --profile lineage "${retained[@]}" \
|
||||
--world "$REGION_WORLD" --region "$REGION_ID" --frame "$REGION_FRAME" \
|
||||
--pg-service /run/postgres/pg_service.conf --pg-passfile /tmp/pgpass \
|
||||
--objects /objects --objects-reserve-mib 1024 \
|
||||
@@ -63,6 +66,8 @@ spec:
|
||||
- {name: REGION_ID, value: set-by-overlay}
|
||||
- {name: REGION_FRAME, value: "9"}
|
||||
- {name: REGION_BUILD, value: set-by-overlay}
|
||||
# Earlier builds whose commits this region may still hold, space-separated.
|
||||
- {name: REGION_RETAINED, value: ""}
|
||||
ports:
|
||||
- {name: ops, containerPort: 9100, protocol: TCP}
|
||||
readinessProbe:
|
||||
|
||||
Reference in New Issue
Block a user