lab5: исправления по ревью

Concurrent complete no longer deletes the shared verified source; admission is atomic and covers pending presign rows; relay reconciles queued jobs lost to dead-lettering; failed staging is protected until failed_retention; timestamps normalized to UTC; reprocess prefers the durable original and keeps job->attachment lock order; heartbeat errors no longer burn attempts; confirm timeout enforced; pinned images and sanitized health responses.
This commit is contained in:
Vladislav Kunetskiy
2026-10-30 23:13:44 +03:00
parent 4bdcac3dfa
commit 9d7a0acb5a
40 changed files with 592 additions and 521 deletions
+8 -8
View File
@@ -1,29 +1,29 @@
# db state 2026-10-30T19:34:38Z
# db state 2026-10-30T20:13:30Z
status | count
---------+-------
failed | 8
failed | 2
pending | 4
ready | 74
ready | 25
(3 rows)
status | count
--------+-------
failed | 8
ready | 81
failed | 2
ready | 28
(2 rows)
variants
----------
243
84
(1 row)
unpublished | outbox
-------------+--------
0 | 150
0 | 52
(1 row)
Timeout: 60.0 seconds ...
Listing queues for vhost messenger ...
name messages messages_ready messages_unacknowledged consumers
attachment.process.dead 12 12 0 0
attachment.process.dead 4 4 0 0
attachment.process.v1 0 0 0 1