lab5: исправления второго ревью
Reprocess of a queued/processing/failed upload now sources from verified staging instead of the not-yet-written final original, which used to supersede v1 and strand the attachment in queued. PNG uploads now inflate the concatenated IDAT stream (bounded by IHDR dimensions) before acceptance, so a structurally valid PNG whose IDAT is not a zlib stream is rejected with 415 instead of 202.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# lab5_async 2026-10-30T20:15:54Z
|
||||
# async 2026-10-30T21:41:04Z
|
||||
worker down: 202 queued, content 409, queued attachment linked, API restarted
|
||||
worker restarted: ready, thumbnail and original downloadable, staging cleared
|
||||
broker down: upload accepted into outbox
|
||||
broker + relay recovered: queued job reached ready
|
||||
stack restart: ready attachment and original preserved
|
||||
worker down: reprocess pipel 2 accepted, upload still queued
|
||||
worker up: reprocessed upload reached ready at pipeline 2, v1 superseded
|
||||
PASS: lab5 async worker/broker durability
|
||||
|
||||
Reference in New Issue
Block a user