Files
mtusi2026lab3/evidence/rolling-update.txt
T
2026-10-15 00:24:46 +03:00

11 lines
1.0 KiB
Plaintext

python student-tests/rolling_update.py
old replicas ['4e5560c6d072', '7740e49a1d8c'], version dev; building version rolling-20261015-000949
image built in 3.0 s
migrations (one run, before replacing replicas): Миграции: новых нет, схема актуальна
replaced 4e5560c6d072 -> b021c4a75186: new replica healthy and UP in HAProxy after 6.8 s, then the old one drained and stopped; step 11.38 s (HAProxy: api1 UP, api2 DOWN, api3 UP)
replaced 7740e49a1d8c -> a1fe17dd4bd2: new replica healthy and UP in HAProxy after 6.1 s, then the old one drained and stopped; step 11.2 s (HAProxy: api1 DOWN, api2 UP, api3 UP)
now: replicas ['a1fe17dd4bd2', 'b021c4a75186'], versions ['rolling-20261015-000949']
under load: write RPS before 162.3, during the update 144.2; errors 0 {}; p95 78.0 ms, max 250.0 ms; update took 22.6 s
confirmed 4260, in history 4260, lost 0, duplicates 0
PASS: all 2 replicas replaced one by one under load, 0 errors, no lost or duplicated messages; saved evidence/rolling-update.json