Record level 4 evidence and extend the report
Evidence from a freshly recreated stand at the current code: the four detection cases with their declared maxima, failover-each for both replicas under k6 at 100 rps (no errors, no balancer retries, the stopped replica never served during its outage), the 20 round same-key race, the limits and isolation check with a run against deliberate violations, and two rolling updates under load: from the level 3 image, where the old replicas without a drain window caused 54 redispatches and 2 response errors that the balancer retried, and between two current builds with all counters at zero. Level 3 runs are refreshed on the new code: smoke, stack view, both failovers with the drain sequence in the replica log, hooks with the longer stop, persistence, stack fault tests and own tests with the shutdown and timeout chain output. The report gains the shutdown order, the check period and worst detection per failure with measurements, the timeout chain, rows 4.1 to 4.4, level 4 rows of the failure table, the k6 role, the new variables and the updated limitations; AGENTS.md lists the commands. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6107c1aa34
commit
a9aab2727f
+20
-19
@@ -1,30 +1,31 @@
|
||||
date: 2026-10-28T08:48:39Z commit: 0796e29
|
||||
date: 2026-10-28T16:53:55Z commit: e00eb6c
|
||||
$ docker compose --env-file .env config --quiet && echo valid
|
||||
valid
|
||||
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}} {{.Ports}}'
|
||||
api mtusi2026lab3-api-1 Up 8 seconds (healthy)
|
||||
api mtusi2026lab3-api-2 Up 8 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up About a minute (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
||||
postgres mtusi2026lab3-postgres-1 Up About a minute (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up About a minute (healthy)
|
||||
api mtusi2026lab3-api-1 Up 7 seconds (healthy)
|
||||
api mtusi2026lab3-api-2 Up 7 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up 14 seconds (healthy) 127.0.0.1:18083->8080/tcp, 127.0.0.1:23083->8404/tcp
|
||||
postgres mtusi2026lab3-postgres-1 Up 14 seconds (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up 14 seconds (healthy)
|
||||
$ docker compose config | grep -c container_name
|
||||
0
|
||||
$ docker compose port api 8080 # реплики не публикуют порт
|
||||
no port 8080/tcp for container mtusi2026lab3-api-1:
|
||||
$ docker port <каждая реплика api> # реплики не публикуют порт
|
||||
a3536e394b3f: []
|
||||
27de23496b0f: []
|
||||
$ docker inspect: hostname = X-Instance-Id, сети, лимиты CPU (nano) и памяти
|
||||
api 302cfee8f673 /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
api b582bd503bdd /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
lb 10cd61cb6cc5 /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
|
||||
postgres f06fc06e6824 /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
|
||||
valkey 5f8773e8a7ad /mtusi2026lab3-valkey-1 nets=mtusi2026lab3_backend, cpus=500000000 mem=134217728 user=999:1000 ro=false
|
||||
api 27de23496b0f /mtusi2026lab3-api-2 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
api a3536e394b3f /mtusi2026lab3-api-1 nets=mtusi2026lab3_backend, cpus=1000000000 mem=536870912 user=10001:10001 ro=true
|
||||
lb 0b152ec25c09 /mtusi2026lab3-lb-1 nets=mtusi2026lab3_backend,mtusi2026lab3_edge, cpus=1000000000 mem=134217728 user=haproxy ro=true
|
||||
postgres 67fe9b43b70b /mtusi2026lab3-postgres-1 nets=mtusi2026lab3_backend, cpus=2000000000 mem=1073741824 user=70:70 ro=false
|
||||
valkey e4c5a748222e /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: 302cfee8f673
|
||||
x-instance-id: b582bd503bdd
|
||||
x-instance-id: 302cfee8f673
|
||||
x-instance-id: b582bd503bdd
|
||||
x-instance-id: 302cfee8f673
|
||||
x-instance-id: b582bd503bdd
|
||||
x-instance-id: a3536e394b3f
|
||||
x-instance-id: 27de23496b0f
|
||||
x-instance-id: a3536e394b3f
|
||||
x-instance-id: 27de23496b0f
|
||||
x-instance-id: a3536e394b3f
|
||||
x-instance-id: 27de23496b0f
|
||||
|
||||
Reference in New Issue
Block a user