Исправить замечания ревью: ACL при повторе, повтор POST в nginx, активная проверка готовности

This commit is contained in:
alenchha
2026-10-29 17:30:19 +03:00
parent af5b4ba6a6
commit c001061e18
18 changed files with 388 additions and 179 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
=== Failover run 1 ===
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": 121, "failed_attempts": 0, "first_recovery_seconds": 1.463}
{"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 0.333}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
=== Failover run 2 (other replica) ===
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": 120, "failed_attempts": 1, "first_recovery_seconds": 1.455}
{"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 0.325}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.