Собрать стенд lab4 с вложениями в приватном S3-bucket.

Метаданные остаются в PostgreSQL, байты — в RustFS, чтобы скачивание пережило остановку одной реплики API.
This commit is contained in:
samsik
2026-11-06 08:49:44 +03:00
parent ec540a1a72
commit 11c8c03984
32 changed files with 2348 additions and 50 deletions
+3
View File
@@ -0,0 +1,3 @@
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 139, "failed_attempts": 4, "first_recovery_seconds": 3.63}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+3
View File
@@ -0,0 +1,3 @@
PASS: filename, MIME, pixels, outsider, foreign chat
oversized Content-Length -> 413 in 0.001s
anonymous S3 status 403
+2
View File
@@ -0,0 +1,2 @@
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+4
View File
@@ -0,0 +1,4 @@
docker compose stop s3
HTTP/1.1 503 Service Unavailable
После docker compose start s3 готовность /health/ready снова 200.
Анонимный GET http://s3:9000/messenger-attachments/ из сети стенда: 403.
+1
View File
@@ -0,0 +1 @@
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.