forked from mtusi2026/mtusi2026lab5
feat(lab5): durable async attachment pipeline through grade 4
- 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
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
# Verify the lab4 durability claim: upload through the load balancer, stop the
|
||||
# API replica that served the upload, then download the same attachment through
|
||||
# Verify the lab5 durability claim: accept an upload through the load balancer
|
||||
# (202 after durable staging plus outbox), let the worker make it ready, stop
|
||||
# the API replica that accepted it, then download the same attachment through
|
||||
# another replica and compare the SHA-256. The stopped replica is restored on
|
||||
# exit so the stand is left as it was found.
|
||||
set -eu
|
||||
|
||||
Reference in New Issue
Block a user