Собрать стенд lab4: вложения в MinIO и сверка хранилищ

This commit is contained in:
Wladislava1
2026-11-12 10:57:42 +03:00
parent ec540a1a72
commit 3715c6a395
33 changed files with 3111 additions and 45 deletions
+8
View File
@@ -0,0 +1,8 @@
Official tests/resilience.py --mode failover, hook scripts/stop-one.sh.
Before each run both API replicas answered. The hook stopped the replica that served the first message and left it stopped. Exit code of that container was 143 (SIGTERM). The public test then read the same PNG bytes through the replica that stayed up.
Run 1: {"observed_instances_before": 2, "successful_writes": 136, "failed_attempts": 1, "first_recovery_seconds": 0.669}
Run 2: {"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 1, "first_recovery_seconds": 1.276}
Run 3: {"observed_instances_before": 2, "successful_writes": 136, "failed_attempts": 1, "first_recovery_seconds": 0.745}
In all three runs the stopped container was mtusi-lab4-api-2, because that replica served the first message. mtusi-lab4-api-1 stayed up and served the later requests, including the file download. PASS each time.