lab3
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# student-tests/replica_failover.py — 2026-10-16T13:59:43Z
|
||||
{
|
||||
"before": {
|
||||
"instances": [
|
||||
"52861386fddb",
|
||||
"8587b4251b72"
|
||||
]
|
||||
},
|
||||
"replicas": [
|
||||
{
|
||||
"stopped": "52861386fddb",
|
||||
"stopped_container": "stop-one.sh: stopped api replica(s): mtusi-messenger-lab3-api-5",
|
||||
"hook_returncode": 0,
|
||||
"hook_seconds": 0.151,
|
||||
"hook_error": "",
|
||||
"successful_writes": 91,
|
||||
"successful_rps": 6.06,
|
||||
"failed_attempts": 0,
|
||||
"uncertain_retries": 0,
|
||||
"first_recovery_seconds": 1.659,
|
||||
"instances_after_recovery": [
|
||||
"8587b4251b72"
|
||||
],
|
||||
"messages_in_history": 91,
|
||||
"restored_seconds": 0.201,
|
||||
"instances_restored": [
|
||||
"52861386fddb",
|
||||
"8587b4251b72"
|
||||
]
|
||||
},
|
||||
{
|
||||
"stopped": "8587b4251b72",
|
||||
"stopped_container": "stop-one.sh: stopped api replica(s): mtusi-messenger-lab3-api-6",
|
||||
"hook_returncode": 0,
|
||||
"hook_seconds": 0.154,
|
||||
"hook_error": "",
|
||||
"successful_writes": 100,
|
||||
"successful_rps": 6.66,
|
||||
"failed_attempts": 0,
|
||||
"uncertain_retries": 0,
|
||||
"first_recovery_seconds": 1.656,
|
||||
"instances_after_recovery": [
|
||||
"52861386fddb"
|
||||
],
|
||||
"messages_in_history": 191,
|
||||
"restored_seconds": 0.182,
|
||||
"instances_restored": [
|
||||
"52861386fddb",
|
||||
"8587b4251b72"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
PASS: каждая реплика остановлена по очереди; записи продолжились, дублей и потерь нет
|
||||
Reference in New Issue
Block a user