Record levels 3 and 4 again after the lab 2 carry over
The carry over of the lab 2 fixes changed the request pipeline, logout,
the worker shutdown budget and the stop hooks, so every level 3 and 4
record is taken again on b1c80ee: checks, own tests, smoke, stack,
storage, failover of both replicas, persistence, hooks, the lab 2 stack
tests, limits and the injected violations, lb-check, three detection
runs, failover-each and both rolling updates under k6.
All of them pass: 243 own tests, 12 stack tests, no failed request under
k6 in failover-each and in both rolling updates.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b1c80ee544
commit
f5fea5c59c
+19
-19
@@ -1,31 +1,31 @@
|
||||
date: 2026-10-29T20:14:51Z commit: a02d442
|
||||
date: 2026-10-29T23:43:43Z commit: b1c80ee
|
||||
$ docker compose --env-file .env config --quiet && echo valid
|
||||
valid
|
||||
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}} {{.Ports}}'
|
||||
api mtusi2026lab3-api-1 Up 43 seconds (healthy)
|
||||
api mtusi2026lab3-api-2 Up 43 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up 50 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
||||
postgres mtusi2026lab3-postgres-1 Up 50 seconds (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up 50 seconds (healthy)
|
||||
api mtusi2026lab3-api-1 Up 4 seconds (healthy)
|
||||
api mtusi2026lab3-api-2 Up 4 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up 6 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
||||
postgres mtusi2026lab3-postgres-1 Up 6 seconds (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up 6 seconds (healthy)
|
||||
$ docker compose config | grep -c container_name
|
||||
0
|
||||
$ docker port <каждая реплика api> # реплики не публикуют порт
|
||||
25e43a2e28f7: []
|
||||
87e8bd8ee0aa: []
|
||||
286766bf2b32: []
|
||||
fa81adafcb69: []
|
||||
$ docker inspect: hostname = X-Instance-Id, сети, лимиты CPU (nano) и памяти
|
||||
api 25e43a2e28f7 /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
api 87e8bd8ee0aa /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
lb fba1f8726d16 /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
|
||||
postgres 68b3f0fb15eb /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
|
||||
valkey fc920663d81e /mtusi2026lab3-valkey-1 nets=mtusi2026lab3_backend, cpus=500000000 mem=134217728 user=999:1000 ro=false
|
||||
api 286766bf2b32 /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
api fa81adafcb69 /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
lb 55229893641c /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
|
||||
postgres 308851b9dd07 /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
|
||||
valkey 70f5ef5be346 /mtusi2026lab3-valkey-1 nets=mtusi2026lab3_backend, cpus=500000000 mem=134217728 user=999:1000 ro=false
|
||||
$ curl LB stats: backend api, server status check
|
||||
api1 UP L7OK 200
|
||||
api2 UP L7OK 200
|
||||
BACKEND UP
|
||||
$ for i in 1..6: curl -D - http://127.0.0.1:18083/health/live | X-Instance-Id
|
||||
x-instance-id: 25e43a2e28f7
|
||||
x-instance-id: 87e8bd8ee0aa
|
||||
x-instance-id: 25e43a2e28f7
|
||||
x-instance-id: 87e8bd8ee0aa
|
||||
x-instance-id: 25e43a2e28f7
|
||||
x-instance-id: 87e8bd8ee0aa
|
||||
x-instance-id: fa81adafcb69
|
||||
x-instance-id: 286766bf2b32
|
||||
x-instance-id: fa81adafcb69
|
||||
x-instance-id: 286766bf2b32
|
||||
x-instance-id: fa81adafcb69
|
||||
x-instance-id: 286766bf2b32
|
||||
|
||||
Reference in New Issue
Block a user