docs: address final report review and remove PLAN.md
Fix the findings of the final REPORT.md review: prerequisites, the defence scenario, swap sources, the single explanation of the R* drop at PostgreSQL 0.5 CPU, known defects in the limitations, a dead link, stale counts and references. Remove the device name from evidence. Remove the lab plan now that every change is archived: its decisions live in REPORT.md and the archived designs, live references point there, and AGENTS.md drops the transitional section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,8 +11,9 @@ paths:
|
||||
Задание — `README.md` лабы 3, роли — `contracts/infrastructure.json`,
|
||||
семантика `X-Instance-Id` и `Idempotency-Key` — `api-contract.md`.
|
||||
Общие правила compose, пинов и volumes — `docker.md`; здесь то, что
|
||||
добавляет лаба 3. Почему HAProxy — `PLAN.md`, «Ключевые решения»;
|
||||
числа и их обоснование — design change `replicas-lb` (архив
|
||||
добавляет лаба 3. Почему HAProxy — `REPORT.md`, «Балансировщик и
|
||||
реплики» (таблица сравнения), и design change `replicas-lb`, решение 1;
|
||||
числа и их обоснование — тот же design (архив
|
||||
`openspec/changes/archive/`), спек `load-balancing`.
|
||||
|
||||
```
|
||||
@@ -242,6 +243,13 @@ Compose не умеет rolling update сам (это `update_config` Swarm). Ц
|
||||
6. Шаги 3–5 для каждой старой. В конце — N реплик на новом образе, все
|
||||
`UP`, ни одной прежней.
|
||||
|
||||
**Имена контейнеров после замены.** Compose нумерует новые контейнеры
|
||||
сервиса по возрастанию, поэтому после замен реплики называются `api-N`
|
||||
с растущим номером (`mtusi-lab3-api-3`, `-4`, …). Штатные цели
|
||||
(`make replicas`, `make test-failover`, `restart.sh`, `stop-one.sh`) с
|
||||
ними работают: они обращаются к сервису `api` (`docker compose ps -q
|
||||
api`, `stop` / `start api`), а не к имени контейнера. `make down` + `make run_docker` снова дают `api-1`, `api-2`.
|
||||
|
||||
**Runtime API LB** — `stats socket ipv4@127.0.0.1:9999 level admin` в
|
||||
`global`: только loopback контейнера LB, из сети compose и с хоста не
|
||||
достать. Команды — `docker compose exec -T haproxy bash -c 'exec
|
||||
|
||||
Reference in New Issue
Block a user