fix: harden rolling update cleanup and preconditions found in verify

Reset the new replica ID before entering the starting state and let the
cleanup find a replica created by an interrupted compose scale; refuse
to start while LB slots keep a manual drain or maint state; log the exit
code of each stopped old replica and print full LB commands for manual
cleanup. Document the migrate step and the rollback tag limitation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 01:33:33 +03:00
co-authored by Claude Opus 5.5
parent 69ebf5cd38
commit 5e102e6d0c
9 changed files with 199 additions and 40 deletions
+2 -2
View File
@@ -228,8 +228,8 @@ paths:
пометка `old_after_drain`: дренаж не сработал.
- Отказ команды: скрипт вернул не 0, k6 упал, хранилище падало, сверка
не сошлась, в конце не `API_REPLICAS` работающих реплик, есть прежняя
или реплики на разных образах. Ошибки клиента — пометка `errors`, не
отказ.
или реплики на разных образах, LB за 30 с не видит `UP` все реплики.
Ошибки клиента — пометка `errors`, не отказ.
- Результаты — `evidence/rollout/<метка>/`: `meta.json` (с разделом
`rollout`: commit, образы, контейнеры и ревизия до и после),
`rollout.csv`, `replicas.csv`, `timeline.csv`, `summary.md`,