исправление

This commit is contained in:
2026-10-26 19:40:34 +03:00
parent a591243d80
commit aaab3ac8b2
37 changed files with 1749 additions and 389 deletions
+24 -24
View File
@@ -1,29 +1,29 @@
python student-tests/attachment_failover.py
uploaded 111817 bytes -> 202 queued, sha256 99ea7533c441f79c..., served by api replica b0db3e40abfe
uploaded 111817 bytes -> 202 queued, sha256 99ea7533c441f79c..., served by api replica 48dc392933dc
SERVICE CONTAINER STATE STARTED AT (UTC)
api b0db3e40abfe running (healthy) 2026-10-25T18:23:36.991
api ef44b0d4c0a1 running (healthy) 2026-10-25T18:23:36.756
broker 9f909ed7ecea running (healthy) 2026-10-25T18:23:53.670
lb 8be67a2e86b7 running (healthy) 2026-10-25T18:20:04.043
migrate e6c2c825d38d exited 2026-10-25T18:28:07.167
postgres d2bfd48385f1 running (healthy) 2026-10-25T18:19:54.204
s3 892c7ca290f2 running (healthy) 2026-10-25T18:19:54.206
s3-init 08c2e7925d67 exited 2026-10-25T18:28:07.169
valkey 4e223cb9301e running (healthy) 2026-10-25T18:19:54.202
worker d9eced386d93 running (healthy) 2026-10-25T18:28:09.870
stopped b0db3e40abfe (docker stop) right after 202; HAProxy: api1 DOWN, api2 UP
api 48dc392933dc running (healthy) 2026-10-26T16:18:45.196
api c1b7e1ab5673 running (healthy) 2026-10-26T16:18:45.657
broker 9f909ed7ecea running (healthy) 2026-10-26T16:19:00.163
lb 8be67a2e86b7 running (healthy) 2026-10-26T16:15:42.154
migrate a5a9934b4d6b exited 2026-10-26T16:23:38.842
postgres d2bfd48385f1 running (healthy) 2026-10-26T16:15:17.840
s3 892c7ca290f2 running (healthy) 2026-10-26T16:15:17.826
s3-init deab1aa2b022 exited 2026-10-26T16:23:38.843
valkey 4e223cb9301e running (healthy) 2026-10-26T16:15:17.820
worker 292a36c54a41 running (healthy) 2026-10-26T16:23:41.416
stopped 48dc392933dc (docker stop) right after 202; HAProxy: api1 UP, api2 DOWN
the worker finished the job without that replica: status ready, variants ['thumbnail', 'crop', 'optimized']
downloaded 4 times through ['ef44b0d4c0a1']: same SHA-256 as uploaded
restored b0db3e40abfe; HAProxy: api1 UP, api2 UP
downloaded 4 times through ['c1b7e1ab5673']: same SHA-256 as uploaded
restored 48dc392933dc; HAProxy: api1 UP, api2 UP
SERVICE CONTAINER STATE STARTED AT (UTC)
api b0db3e40abfe running (healthy) 2026-10-25T18:28:33.999
api ef44b0d4c0a1 running (healthy) 2026-10-25T18:23:36.756
broker 9f909ed7ecea running (healthy) 2026-10-25T18:23:53.670
lb 8be67a2e86b7 running (healthy) 2026-10-25T18:20:04.043
migrate e6c2c825d38d exited 2026-10-25T18:28:07.167
postgres d2bfd48385f1 running (healthy) 2026-10-25T18:19:54.204
s3 892c7ca290f2 running (healthy) 2026-10-25T18:19:54.206
s3-init 08c2e7925d67 exited 2026-10-25T18:28:07.169
valkey 4e223cb9301e running (healthy) 2026-10-25T18:19:54.202
worker d9eced386d93 running (healthy) 2026-10-25T18:28:09.870
api 48dc392933dc running (healthy) 2026-10-26T16:24:32.726
api c1b7e1ab5673 running (healthy) 2026-10-26T16:18:45.657
broker 9f909ed7ecea running (healthy) 2026-10-26T16:19:00.163
lb 8be67a2e86b7 running (healthy) 2026-10-26T16:15:42.154
migrate a5a9934b4d6b exited 2026-10-26T16:23:38.842
postgres d2bfd48385f1 running (healthy) 2026-10-26T16:15:17.840
s3 892c7ca290f2 running (healthy) 2026-10-26T16:15:17.826
s3-init deab1aa2b022 exited 2026-10-26T16:23:38.843
valkey 4e223cb9301e running (healthy) 2026-10-26T16:15:17.820
worker 292a36c54a41 running (healthy) 2026-10-26T16:23:41.416
PASS: the replica that accepted the upload was stopped right after 202; the job still became ready and another replica returned the same bytes (the original lives in S3, not on the replica)