Record which replica stops and which services restart
scripts/failover-evidence.sh lists the api containers by hostname, the X-Instance-Id they answer with, before and after make test-failover, names the container left exited, keeps its last log lines with the gunicorn graceful shutdown, then restores it and lists the replicas again. scripts/evidence-stack.sh records the compose config check, published ports, the missing port of a replica, hostnames, networks, limits, process users, the balancer view of every server and the alternating X-Instance-Id through the balancer, plus the environment and image versions. The persistence and storage evidence scripts now list every replica and the idempotency key table. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ceb266ed05
commit
ae8fb0a48e
@@ -33,7 +33,7 @@
|
||||
|
||||
- [x] 6.1 `scripts/stop-one.sh`, `scripts/restart.sh` (вместо версии лабы 2), `scripts/restore.sh`, `scripts/lb-wait.sh`
|
||||
- [x] 6.2 `scripts/probe.py` (`check`), ruff для `scripts/*.py`
|
||||
- [ ] 6.3 Скрипт доказательства отказа: `docker ps -a` до и после, `make test-failover`, какой контейнер остановлен
|
||||
- [x] 6.3 Скрипт доказательства отказа: `docker ps -a` до и после, `make test-failover`, какой контейнер остановлен
|
||||
- [ ] 6.4 Проверка группы: `make test`, `make lb-check`, `make test-failover ACTION_SCRIPT=scripts/stop-one.sh` для обеих реплик с `scripts/restore.sh` между ними, `make test-persistence ACTION_SCRIPT=scripts/restart.sh`
|
||||
|
||||
## 7. Отчёт
|
||||
|
||||
Reference in New Issue
Block a user