forked from mtusi2026/mtusi2026lab4
feat: Саватеев А трек 4
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
## instances before
|
||||
CONTAINER STATE INSTANCE PID REVISION
|
||||
messenger-lab4-api-1 running/healthy 0fd6b920cefc 2735 dev
|
||||
messenger-lab4-api-2 running/healthy 5a67f0c47be1 2687 dev
|
||||
## make test-failover ACTION_SCRIPT=scripts/stop-one.sh
|
||||
{"observed_instances_before": 2, "successful_writes": 130, "failed_attempts": 0, "first_recovery_seconds": 2.058}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
## instances after (stopped replica stays stopped)
|
||||
CONTAINER STATE INSTANCE PID REVISION
|
||||
messenger-lab4-api-1 exited/unhealthy - 0 dev
|
||||
messenger-lab4-api-2 running/healthy 5a67f0c47be1 2687 dev
|
||||
|
||||
## second run after scripts/restore.sh
|
||||
CONTAINER STATE INSTANCE PID REVISION
|
||||
messenger-lab4-api-1 running/healthy 04c6c919ec65 5688 dev
|
||||
messenger-lab4-api-2 running/healthy 5a67f0c47be1 2687 dev
|
||||
{"observed_instances_before": 2, "successful_writes": 129, "failed_attempts": 0, "first_recovery_seconds": 1.618}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
CONTAINER STATE INSTANCE PID REVISION
|
||||
messenger-lab4-api-1 exited/unhealthy - 0 dev
|
||||
messenger-lab4-api-2 running/healthy 5a67f0c47be1 2687 dev
|
||||
Reference in New Issue
Block a user