docs: retake graceful-failover checks after verify

The rejected LB pool variant is re-measured on committed code with a
temporary second HAProxy differing in http-reuse only: the replica, not
the LB, closed the last idle connection after 60.4 s. Exploratory
never/safe SIGTERM numbers are separated from evidence. hang-key cleanup
is shown under Ctrl+C and SIGTERM, bench_compare refuses a label without
the LB. Drain before SIGTERM and the run_docker recreate issue are handed
to rolling-update in PLAN.md and KNOWN_ISSUES.md; design gains decision 10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 00:07:21 +03:00
co-authored by Claude Opus 5.5
parent 12783aaff1
commit f38a56c4ea
9 changed files with 387 additions and 68 deletions
+6 -4
View File
@@ -56,10 +56,12 @@ access_log=False)`.
раньше реплики (`balancer.md`, цепочка таймаутов). При SIGTERM uvicorn
закрывает простаивающие соединения сразу. Запрос, который LB отправил
в такое соединение в тот же миг, получает 502: под нагрузкой
200 запросов в секунду — одиночный 502 в каждой 4–8-й фазе `stop`
профиля `failover`. Клиенты с новым соединением на запрос
(`tests/resilience.py`) его не встречают. Убрать его может только
дренаж перед SIGTERM (readiness 503, затем остановка) — его нет.
200 запросов в секунду — одиночный 502 в части фаз `stop` профиля
`failover` (1 из 4 на `459f84c`). Клиенты с новым соединением на
запрос (`tests/resilience.py`) его не встречают. Убрать его может
только дренаж перед SIGTERM (вывод реплики из LB, затем остановка) —
его нет, он перенесён в change `rolling-update` (design
`graceful-failover`, решение 10).
- Console-режим — один процесс на `127.0.0.1` без LB, для разработки и
скилла `run-mtusi-messenger`. Проверки лабы 3 (≥2 реплики, failover,
гонка через разные реплики) — только на стенде compose через LB.