forked from mtusi2026/mtusi2026lab5
ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# s3-outage
|
||||
# date: 2026-11-12T15:04:18 commit: 276dbda
|
||||
|
||||
$ C:\Users\79152\AppData\Local\Python\pythoncore-3.14-64\python.exe student-tests/s3_outage.py --base-url http://localhost:8080
|
||||
ok - upload before outage
|
||||
ok - it is processed to ready before the outage (lab5: 202 → worker)
|
||||
== MinIO остановлен ==
|
||||
ok - upload -> 503 unavailable (got 503)
|
||||
ok - bounded by timeouts, not a hang (6.6 s)
|
||||
ok - download -> 503 (got 503)
|
||||
ok - metadata still served from PostgreSQL
|
||||
ok - text messages still work
|
||||
ok - message referencing an existing attachment still works (metadata only)
|
||||
ok - /health/ready = 200 (S3 is not critical for text path)
|
||||
== MinIO снова работает ==
|
||||
ok - file uploaded before outage downloads unchanged
|
||||
ok - uploads work again on all replicas: 4 x 202 in a row after 4.7 s (codes during recovery: [503, 202, 503, 202, 503, 202, 503, 202, 503, 202, 503, 202, 503, 202, 202, 202, 202])
|
||||
stats: {'objects': 242, 'attachments': 242, 'upload_intents': 1}
|
||||
ok - janitor cleaned journal rows left by failed uploads ({'grace_seconds': 0, 'dry_run': False, 'locked': True, 'intents_expired': 1, 'intents_removed': 1, 'objects_deleted': 1, 'would_delete_objects': 0, 'orphans_found': 0, 'errors': 0, 'duration_ms': 39.5})
|
||||
|
||||
12 passed, 0 failed
|
||||
[exit 0]
|
||||
Reference in New Issue
Block a user