Record levels 3 and 4 again on the final code
Every level 3 and level 4 file in evidence was taken one00eb6c, before track 1 rewrote the message write into one statement under the chat lock. The runs are repeated ona02d442: smoke, stack, storage, both failovers (the second after one shifting request), persistence, hooks, the lab 2 fault tests, limits and injected violations, 20 same-key races, three detection runs, failover-each under k6 and both rolling updates. All pass. checks.txt adds the real output of make check, make validate and make lint, and student-tests.txt includes the new access order test. 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
a02d442085
commit
e722cb357d
+11
-11
@@ -1,27 +1,27 @@
|
||||
date: 2026-10-28T16:56:54Z commit: e00eb6c
|
||||
date: 2026-10-29T20:15:48Z commit: a02d442
|
||||
$ TARGET_INSTANCE_ID=<hostname реплики> scripts/stop-one.sh; echo exit=$? # seconds — длительность хука (окно вывода из ротации 2 с + остановка)
|
||||
target=a3536e394b3f exit=0 seconds=2.72
|
||||
a3536e394b3f exited exit_code=0 oom=false
|
||||
27de23496b0f running exit_code=0 oom=false
|
||||
target=25e43a2e28f7 exit=0 seconds=2.58
|
||||
25e43a2e28f7 exited exit_code=0 oom=false
|
||||
87e8bd8ee0aa running exit_code=0 oom=false
|
||||
$ scripts/restore.sh
|
||||
exit=0
|
||||
a3536e394b3f running
|
||||
27de23496b0f running
|
||||
25e43a2e28f7 running
|
||||
87e8bd8ee0aa running
|
||||
$ TARGET_INSTANCE_ID=no-such-replica scripts/stop-one.sh; echo exit=$?
|
||||
no running api replica answers as no-such-replica
|
||||
exit=3
|
||||
$ docker compose ps --format '{{.Service}} {{.Name}} {{.Status}}' # ничего не остановлено
|
||||
api mtusi2026lab3-api-1 Up 2 seconds (healthy)
|
||||
api mtusi2026lab3-api-2 Up 16 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up 3 minutes (healthy)
|
||||
postgres mtusi2026lab3-postgres-1 Up 3 minutes (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up 3 minutes (healthy)
|
||||
api mtusi2026lab3-api-2 Up 10 seconds (healthy)
|
||||
lb mtusi2026lab3-lb-1 Up 16 seconds (healthy)
|
||||
postgres mtusi2026lab3-postgres-1 Up 16 seconds (healthy)
|
||||
valkey mtusi2026lab3-valkey-1 Up 16 seconds (healthy)
|
||||
$ scripts/stop-one.sh # без TARGET_INSTANCE_ID
|
||||
scripts/stop-one.sh: line 3: TARGET_INSTANCE_ID: test provides target API instance alias
|
||||
exit=1
|
||||
$ docker compose stop api # обе реплики, LB остаётся
|
||||
2
|
||||
$ curl -i -H 'X-Request-Id: no-replica-1' http://localhost:18083/api/v1/users/me
|
||||
$ curl -i -H 'X-Request-Id: no-replica-1' http://127.0.0.1:18083/api/v1/users/me
|
||||
HTTP/1.1 503 Service Unavailable
|
||||
x-request-id: no-replica-1
|
||||
content-length: 93
|
||||
|
||||
Reference in New Issue
Block a user