Files
mtusi2026lab5/evidence/failover/test-failover.md
T
2026-10-31 16:51:29 +03:00

1.3 KiB
Raw Blame History

Отказ одной реплики API

  • Команды: make test-failover ACTION_SCRIPT=scripts/stop-one.sh, make replicas, сдвиг очереди LB одним запросом, STOP_MODE=kill make test-failover ACTION_SCRIPT=scripts/stop-one.sh, make replicas
  • Дата: 2026-10-31, 13:28:58–13:29:36 UTC; оба прогона — код выхода 0
  • Commit: e2a6427 (ветка feat/pipeline-reliability), рабочее дерево без правок кода (добавлены только файлы evidence/)
  • Стенд: проект compose mtusi-lab5, собран make run_docker из HEAD
  • STOP_ONE_LOG назвал реплики: первый прогон TARGET_INSTANCE_ID=e933a5daf6b3, режим stop; второй TARGET_INSTANCE_ID=d7f1b8c394b9, режим kill

stop

{"observed_instances_before": 2, "successful_writes": 121, "failed_attempts": 0, "first_recovery_seconds": 1.072}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.

kill

{"observed_instances_before": 2, "successful_writes": 121, "failed_attempts": 0, "first_recovery_seconds": 0.867}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.