RabbitMQ (quorum queue, publisher confirms, manual ack, DLX) + отдельный worker: staging в S3 + вложение/job/outbox одной транзакцией -> 202 queued; relay outbox, lease с heartbeat и fencing (worker_id, attempt), retry с backoff+jitter, failed-реестр, безопасный replay с audit; thumbnail/crop/WebP в изолированном процессе с лимитами. Тесты окон отказа (fault injection), трек 1 «Очередь под перегрузкой» с backpressure. Перенесено исправление замечания lab3 PR #99 (U+0000 в тексте). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
# 2026-11-17T15:28:26Z, commit 276dbda
|
|
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://lb: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.
|
|
|
|
# hook scope (StartedAt before/after of every process):
|
|
before:
|
|
/mtusi-lab5-api-1 2026-11-17T15:28:44.882592618Z
|
|
/mtusi-lab5-api-2 2026-11-17T15:28:44.5554688Z
|
|
/mtusi-lab5-lb-1 2026-11-17T15:28:50.680908369Z
|
|
/mtusi-lab5-postgres-1 2026-11-17T15:28:36.844686149Z
|
|
/mtusi-lab5-rabbitmq-1 2026-11-17T15:28:37.794780107Z
|
|
/mtusi-lab5-s3-1 2026-11-17T15:28:36.68421067Z
|
|
/mtusi-lab5-valkey-1 2026-11-17T15:28:36.995474977Z
|
|
/mtusi-lab5-worker-1 2026-11-17T15:28:45.270340876Z
|
|
after:
|
|
/mtusi-lab5-api-1 2026-11-17T15:29:08.027213384Z
|
|
/mtusi-lab5-api-2 2026-11-17T15:29:07.790819877Z
|
|
/mtusi-lab5-lb-1 2026-11-17T15:29:13.806020318Z
|
|
/mtusi-lab5-postgres-1 2026-11-17T15:28:59.585810192Z
|
|
/mtusi-lab5-rabbitmq-1 2026-11-17T15:29:00.317641583Z
|
|
/mtusi-lab5-s3-1 2026-11-17T15:28:59.897534526Z
|
|
/mtusi-lab5-valkey-1 2026-11-17T15:28:59.750297747Z
|
|
/mtusi-lab5-worker-1 2026-11-17T15:29:07.569183681Z
|
|
ready
|