date: 2026-10-28T16:56:07Z commit: e00eb6c == before: api replicas (hostname = X-Instance-Id), state, StartedAt, FinishedAt a3536e394b3f running started=2026-10-28T16:55:38.101692511Z finished=2026-10-28T16:55:25.134036046Z 27de23496b0f running started=2026-10-28T16:56:05.100393509Z finished=2026-10-28T16:55:52.113620836Z $ make test-failover ACTION_SCRIPT=scripts/stop-one.sh python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:18083" Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 2.689} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. == after: api replicas a3536e394b3f exited started=2026-10-28T16:55:38.101692511Z finished=2026-10-28T16:56:10.104800095Z 27de23496b0f running started=2026-10-28T16:56:05.100393509Z finished=2026-10-28T16:55:52.113620836Z == stopped replica: a3536e394b3f; shutdown: signal, drain window with readiness 503, close, exit {"event":"Handling signal: term","level":"info","ts":"2026-10-28T16:56:07.660163Z"} {"event":"Draining for 2.0 s","level":"info","ts":"2026-10-28T16:56:07.716933Z"} {"event":"Draining for 2.0 s","level":"info","ts":"2026-10-28T16:56:07.755310Z"} {"method":"GET","route":"/health/ready","status":503,"request_id":"9015463a87b2431bbba6f0a3804b81ef","duration_ms":1.467,"event":"request.handled","level":"info","ts":"2026-10-28T16:56:08.155658Z"} {"method":"GET","route":"/health/ready","status":503,"request_id":"ca8d0e81fc814140a89b461975ec2c0c","duration_ms":0.441,"event":"request.handled","level":"info","ts":"2026-10-28T16:56:08.658832Z"} {"event":"Shutting down","level":"info","ts":"2026-10-28T16:56:09.722798Z"} {"event":"Shutting down","level":"info","ts":"2026-10-28T16:56:09.757396Z"} {"event":"service.stopped","level":"info","ts":"2026-10-28T16:56:09.838472Z"} {"event":"Finished server process [7]","level":"info","ts":"2026-10-28T16:56:09.838854Z"} {"event":"service.stopped","level":"info","ts":"2026-10-28T16:56:09.862674Z"} {"event":"Finished server process [8]","level":"info","ts":"2026-10-28T16:56:09.863018Z"} {"event":"Worker (pid:7) was sent SIGTERM!","level":"info","ts":"2026-10-28T16:56:09.932410Z"} {"event":"Worker (pid:8) was sent SIGTERM!","level":"info","ts":"2026-10-28T16:56:09.932568Z"} {"event":"Shutting down: Master","level":"info","ts":"2026-10-28T16:56:10.033607Z"} $ scripts/restore.sh Container mtusi2026lab3-api-2 Running Container mtusi2026lab3-api-1 Starting Container mtusi2026lab3-api-1 Started Container mtusi2026lab3-api-2 Waiting Container mtusi2026lab3-api-1 Waiting Container mtusi2026lab3-api-2 Healthy Container mtusi2026lab3-api-1 Healthy == after restore a3536e394b3f running started=2026-10-28T16:56:23.072055754Z finished=2026-10-28T16:56:10.104800095Z 27de23496b0f running started=2026-10-28T16:56:05.100393509Z finished=2026-10-28T16:55:52.113620836Z