Implement lab 3 replica failover and shared idempotency for grade 4

This commit is contained in:
Алиса Шурман
2026-11-12 22:04:38 +03:00
parent 0ab3a341aa
commit 7da034885f
25 changed files with 1228 additions and 23 deletions
+4
View File
@@ -0,0 +1,4 @@
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": 116, "failed_attempts": 2, "first_recovery_seconds": 1.682}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.