=== failover одной реплики: остановлена mtusi-lab3-api-1 (прогон 4) commit: 410e1ea3ad1b12b1bc650484c3531e6bf76479be captured_at 2026-10-15T18:29:41Z --- api-реплики до теста: 4579bce31e8d mtusi-lab3-api-1 77b49a240814 mtusi-lab3-api-2 python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080" Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 3.436} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. --- api-реплики после теста: 77b49a240814 mtusi-lab3-api-2 --- цель TARGET_INSTANCE_ID = 4579bce31e8d; hostname контейнера = X-Instance-Id, остановка docker stop --time 10 (SIGTERM -> дрейн 3s) --- HAProxy: переходы статусов backend-слотов во время теста: 2026-10-15T18:28:56Z api1 addr=172.30.0.5:8080 status=UP check=L7OK 2026-10-15T18:28:56Z api2 addr=172.30.0.4:8080 status=UP check=L7OK 2026-10-15T18:28:57Z api1 addr=172.30.0.5:8080 status=DOWN check=L7STS 2026-10-15T18:29:00Z api1 addr=172.30.0.5:8080 status=DOWN check=* L7STS 2026-10-15T18:29:01Z api1 addr= status=MAINT (resolution) check=