forked from mtusi2026/mtusi2026lab5
Отделить приём вложений от обработки через очередь и worker.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 140, "failed_attempts": 4, "first_recovery_seconds": 3.658}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,8 @@
|
||||
happy-path ready id=113efcbd-9dcf-46bd-9af8-17d1c927f517 variants=3 replay=ignored_ready
|
||||
broker restart kept 2 then 2 process messages
|
||||
worker-down then broker restart kept queue; ready id=59f221a0-7fe3-47ba-9b87-97ac966357b7
|
||||
commit/publish gap recovered by worker without a new upload id=50db09ac-d826-47a3-899a-ada58734390a
|
||||
permanent invalid_image + replay id=8e345bcd-8900-4287-9a06-4bb504ee6ae2 dlq present
|
||||
backoff retries=2 final_attempt=3 id=c266f9bb-1d43-453e-b4b3-f1f0ef29a112
|
||||
crash after s3 before ack redelivery id=e2c19231-f4ec-4d67-a89b-f94c5325d91f variants=3 staging cleared
|
||||
expired processing lease recovered id=17531de7-4616-45fb-ac94-9d45355f846d
|
||||
@@ -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.
|
||||
@@ -0,0 +1,20 @@
|
||||
BEFORE
|
||||
mtusi-lab5-rabbitmq-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-lb-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-api-2 Up Less than a second (health: starting)
|
||||
mtusi-lab5-api-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-worker-1 Up Less than a second
|
||||
mtusi-lab5-postgres-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-s3-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-valkey-1 Up Less than a second (health: starting)
|
||||
worker concurrency=2 prefetch_per_channel=1 max_attempts=5 timeout=60s memory_limit=536870912
|
||||
AFTER
|
||||
mtusi-lab5-rabbitmq-1 Up 2 seconds (health: starting)
|
||||
mtusi-lab5-lb-1 Up 4 seconds (health: starting)
|
||||
mtusi-lab5-api-2 Up Less than a second (health: starting)
|
||||
mtusi-lab5-api-1 Up Less than a second (health: starting)
|
||||
mtusi-lab5-worker-1 Up 3 seconds
|
||||
mtusi-lab5-postgres-1 Up 3 seconds (health: starting)
|
||||
mtusi-lab5-s3-1 Up 3 seconds (health: starting)
|
||||
mtusi-lab5-valkey-1 Up 3 seconds (health: starting)
|
||||
READY
|
||||
@@ -0,0 +1 @@
|
||||
PASS: lab5 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user