fix: harden graceful-failover checks found in verify

hang-key names its trigger per run, turns SIGTERM and SIGHUP into an
interrupt so the trigger is always dropped and the replica unpaused, and
prints the cleanup SQL if dropping fails. idle-conns reports who closed
the idle connections and can read the pool of another LB container, so a
variant LB config can be checked against the same replicas. bench_compare
refuses a label measured without the load balancer. Stale numbers removed
from the haproxy.cfg comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 00:00:54 +03:00
co-authored by Claude Opus 5.5
parent 4234df5767
commit 12783aaff1
6 changed files with 106 additions and 29 deletions
+4 -1
View File
@@ -79,7 +79,10 @@ paths:
- healthcheck образа у реплик выключен, но реплику раз в секунду
проверяет LB (`SELECT 1` в квоте API). Вместе с LB в пути запроса это
смена методики относительно лабы 2: метки лабы 3 до этого change (их в
git нет) и метки лабы 2 с новыми не сравниваются.
git нет) и метки лабы 2 с новыми не сравниваются. В паспорте метки со
стендом с LB есть `limits.haproxy` и `limits.api_replicas`;
`make bench_compare` отказывает, если `limits.api_replicas` есть только
в одной из меток.
Стенд — свой проект compose `mtusi-bench`: тот же `docker-compose.yml`
с override `bench/bench.compose.yml` (по образцу `make failure_checks`),