Files
mtusi2026lab4/evidence/s3-outage.txt
T

22 lines
1.2 KiB
Plaintext

# s3-outage
# date: 2026-10-29T19:49:31 commit: no-git
$ 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
== MinIO остановлен ==
ok - upload -> 503 unavailable (got 503)
ok - bounded by timeouts, not a hang (4.4 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 201 in a row after 5.1 s (codes during recovery: [503, 201, 503, 201, 503, 201, 503, 201, 503, 201, 503, 201, 503, 201, 503, 201, 201, 201, 201])
stats: {'objects': 152, 'attachments': 152, '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': 75.2})
11 passed, 0 failed
[exit 0]