ЛР 2: PostgreSQL, сессии в Valkey, трек 2

This commit is contained in:
alenchha
2026-10-19 19:11:28 +03:00
parent 65003b6119
commit 6bec450e20
50 changed files with 3210 additions and 14 deletions
+29
View File
@@ -0,0 +1,29 @@
=== 1. Останавливаю кэш сессий (valkey) ===
Container mtusi-lab2-valkey-1 Stopping
Container mtusi-lab2-valkey-1 Stopped
api Up 31 seconds (healthy)
postgres Up 37 seconds (unhealthy)
PASS login_and_read_work_without_cache
PASS unknown_token_is_still_rejected
PASS readiness_ignores_the_cache
3/3 checks passed
Container mtusi-lab2-valkey-1 Starting
Container mtusi-lab2-valkey-1 Started
=== 2. Останавливаю PostgreSQL ===
Container mtusi-lab2-postgres-1 Stopping
Container mtusi-lab2-postgres-1 Stopped
api Up 31 seconds (healthy)
valkey Up Less than a second (health: starting)
PASS readiness_reports_the_outage
PASS writes_fail_with_503
PASS unknown_token_never_becomes_trusted
PASS login_fails_closed
4/4 checks passed
Container mtusi-lab2-postgres-1 Starting
Container mtusi-lab2-postgres-1 Started
=== 3. Состояние восстановлено ===
api Up 38 seconds (healthy)
postgres Up Less than a second (health: starting)
valkey Up 7 seconds (healthy)