Files
mtusi2026lab5/evidence/level3/failover.txt
T
celisandClaude Opus 5.5 51161b2579 Реализовать лабораторную 5: очередь RabbitMQ, worker и outbox
- upload возвращает 202 после записи оригинала в staging/ и одной
  транзакции attachments + jobs + outbox
- relay outbox → RabbitMQ (quorum-очередь, publisher confirms) в каждой
  реплике API; sweeper возвращает работу с истёкшей арендой
- worker: аренда с fencing-токеном, варианты thumbnail/crop/optimized
  (sharp), retry с backoff и jitter, реестр failed, replay с аудитом,
  reprocess новой версией pipeline
- reconciler дочищает staging/ и variants/
- сценарии уровней 3–4, fault-injection трека 2 (14 сценариев,
  инварианты I1–I6), evidence и REPORT.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 00:21:12 +03:00

21 lines
2.0 KiB
Plaintext

run 1: stopped messenger-lab5-api-2
{"observed_instances_before": 2, "successful_writes": 111, "failed_attempts": 0, "first_recovery_seconds": 5.353}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
run 2: stopped messenger-lab5-api-2
{"observed_instances_before": 2, "successful_writes": 106, "failed_attempts": 0, "first_recovery_seconds": 3.299}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
run 3: stopped messenger-lab5-api-2
{"observed_instances_before": 2, "successful_writes": 129, "failed_attempts": 0, "first_recovery_seconds": 2.968}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
run 4: stopped messenger-lab5-api-2
{"observed_instances_before": 2, "successful_writes": 94, "failed_attempts": 0, "first_recovery_seconds": 4.836}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
replicas stopped: messenger-lab5-api-2
run 5 (+1 request to shift round-robin): stopped messenger-lab5-api-1
{"observed_instances_before": 2, "successful_writes": 133, "failed_attempts": 0, "first_recovery_seconds": 3.084}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
[WARNING] (7) : Server api/api2 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 429ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
Server api/api2 is DOWN, reason: Layer4 connection problem, info: "Connection refused", check duration: 429ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] (7) : Server api/api2 is UP, reason: Layer7 check passed, code: 200, check duration: 2ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
Server api/api2 is UP, reason: Layer7 check passed, code: 200, check duration: 2ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.