Добавить две реплики API за HAProxy и проверку отказа одной из них.

Общие сессии и ключ идемпотентности позволяют продолжать чтение и запись, когда одна реплика остановлена.
This commit is contained in:
2026-11-06 17:31:40 +03:00
parent 4303783848
commit d065cffb4e
31 changed files with 980 additions and 109 deletions
+3
View File
@@ -0,0 +1,3 @@
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:8080"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.