forked from mtusi2026/mtusi2026lab5
- RabbitMQ quorum queue, persistent messages and publisher confirms - S3 staging plus PostgreSQL attachments/jobs outbox transaction - worker variants (thumbnail, crop, optimized WebP), DB lease and lease sweeper - jittered retry, permanent failures, explicit replay and admission cap - deterministic crash hooks, resilience script and evidence for grade 4 - async-aware custom tests, oversized pixel case, docs and changelog
39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
# Persistence hook scope: container StartedAt before and after
|
|
$ docker compose ps --format "{{.Service}} {{.Status}}"
|
|
api Up 7 seconds (healthy)
|
|
api Up 7 seconds (healthy)
|
|
haproxy Up 7 seconds (healthy)
|
|
postgres Up 7 seconds (healthy)
|
|
rabbitmq Up 6 seconds (health: starting)
|
|
reconciler Up 5 minutes
|
|
redis Up 7 seconds (healthy)
|
|
rustfs Up 7 seconds (healthy)
|
|
worker Up 7 seconds (healthy)
|
|
|
|
StartedAt before:
|
|
/mtusi2026lab-api-1 2026-11-14T21:25:41.77929768Z
|
|
/mtusi2026lab-api-2 2026-11-14T21:25:41.637807913Z
|
|
/mtusi2026lab-haproxy-1 2026-11-14T21:25:41.555990612Z
|
|
/mtusi2026lab-postgres-1 2026-11-14T21:25:41.820919775Z
|
|
/mtusi2026lab-rabbitmq-1 2026-11-14T21:25:42.573125104Z
|
|
/mtusi2026lab-reconciler-1 2026-11-14T21:19:51.25100733Z
|
|
/mtusi2026lab-redis-1 2026-11-14T21:25:41.663107884Z
|
|
/mtusi2026lab-rustfs-1 2026-11-14T21:25:41.292286108Z
|
|
/mtusi2026lab-worker-1 2026-11-14T21:25:41.248247598Z
|
|
|
|
$ make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://172.18.0.1:8080
|
|
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://172.18.0.1:8080"
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
|
|
StartedAt after:
|
|
/mtusi2026lab-api-1 2026-11-14T21:25:53.837523775Z
|
|
/mtusi2026lab-api-2 2026-11-14T21:25:54.252693201Z
|
|
/mtusi2026lab-haproxy-1 2026-11-14T21:25:54.223324484Z
|
|
/mtusi2026lab-postgres-1 2026-11-14T21:25:54.026612072Z
|
|
/mtusi2026lab-rabbitmq-1 2026-11-14T21:25:55.048458301Z
|
|
/mtusi2026lab-reconciler-1 2026-11-14T21:19:51.25100733Z
|
|
/mtusi2026lab-redis-1 2026-11-14T21:25:54.361607562Z
|
|
/mtusi2026lab-rustfs-1 2026-11-14T21:25:53.897730396Z
|
|
/mtusi2026lab-worker-1 2026-11-14T21:25:53.965619121Z
|