forked from mtusi2026/mtusi2026lab5
Every grade 3 item of lab 5 is proven on a stand raised from empty
volumes at fe26938: the public smoke passes with 202 queued and a real
256x160 JPEG thumbnail; the suite runs its six grade 3 scenarios and
eight invariants green, including worker down with both API replicas,
the relay and the broker restarted while the job stays in the queue,
a redelivered finished job that changes nothing, an S3 outage that
recovers on attempt 2 and five transient failures that end in
retry_exhausted; the stand evidence shows the queued job with
delivery mode 2, the job id as message id and exactly the contract
fields, 409 before ready and a clean SIGTERM of the relay and the
worker; persistence restarts all eight services with their volumes,
failover keeps 134 writes without errors, and the lab 4 scenarios,
S3 checks, upload faults and container policy still pass.
The report describes the clean clone start, the processes and the
source of truth, what is stored at the moment of 202, the outbox and
relay, the claim, fencing and ack order of the worker, the retry
policy, the failure windows, the broker topology and permissions, the
roles table and the mapping of .env.example.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
29 lines
1011 B
Plaintext
29 lines
1011 B
Plaintext
date: 2026-10-28T22:20:06Z commit: fe26938
|
|
$ rabbitmqctl list_queues -p messenger name type durable policy messages
|
|
name type durable policy messages
|
|
attachments.process quorum true attachments-process 0
|
|
attachments.process.dlq quorum true attachments-dlq 0
|
|
$ rabbitmqctl list_consumers -p messenger
|
|
queue_name ack_required prefetch_count
|
|
attachments.process true 2
|
|
$ rabbitmqctl list_permissions -p messenger
|
|
user configure write read
|
|
messenger-worker ^$ ^$ ^attachments\.process$
|
|
messenger-api ^$ ^attachments$ ^$
|
|
messenger-ops .* .* .*
|
|
$ rabbitmqctl list_users
|
|
user tags
|
|
messenger-api []
|
|
messenger-worker []
|
|
messenger-ops [administrator]
|
|
$ docker compose ps
|
|
api Up 8 seconds (healthy)
|
|
api Up 8 seconds (healthy)
|
|
broker Up 14 seconds (healthy) 127.0.0.1:25672->15672/tcp
|
|
lb Up 14 seconds (healthy) 127.0.0.1:18085->8080/tcp, 127.0.0.1:25085->8404/tcp
|
|
postgres Up 14 seconds (healthy)
|
|
relay Up 8 seconds (healthy)
|
|
s3 Up 14 seconds (healthy)
|
|
valkey Up 14 seconds (healthy)
|
|
worker Up 8 seconds (healthy)
|