forked from mtusi2026/mtusi2026lab5
docs: add lab5 report and evidence
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# make test-failover: stop-one.sh останавливает реплику, обслужившую тест
|
||||
# date: 2026-11-16T14:01:02Z
|
||||
# commit: 484119a
|
||||
|
||||
## до
|
||||
/messenger-lab5-api-1 id=1e38f40634b0 running exit=0 finished=2026-11-16T14:00:57.875525905Z
|
||||
/messenger-lab5-api-2 id=87ae39d58075 running exit=0 finished=2026-11-16T14:00:57.874930868Z
|
||||
|
||||
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb:8080"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 131, "failed_attempts": 0, "first_recovery_seconds": 3.439}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
|
||||
## после: остановленная реплика Exited (0) — штатное завершение по SIGTERM
|
||||
/messenger-lab5-api-1 id=1e38f40634b0 exited exit=0 finished=2026-11-16T14:01:15.808115084Z
|
||||
/messenger-lab5-api-2 id=87ae39d58075 running exit=0 finished=2026-11-16T14:00:57.874930868Z
|
||||
Reference in New Issue
Block a user