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:
+4
-3
@@ -43,7 +43,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:7.4-alpine
|
||||
image: redis:7.4-alpine@sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499
|
||||
command:
|
||||
- redis-server
|
||||
- --appendonly
|
||||
@@ -105,7 +105,7 @@ services:
|
||||
# Durable job transport. Quorum queues, publisher confirms and a DLQ live in
|
||||
# the broker; PostgreSQL's outbox remains the source of truth for intent.
|
||||
broker:
|
||||
image: rabbitmq:4.3.7-management-alpine
|
||||
image: rabbitmq:4.3.7-management-alpine@sha256:1528a88eebf2bc4d0ab7e9d5d9bc542e9bdf5e1b105e65848fcf8de5c2186528
|
||||
hostname: broker
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: ${BROKER_USER:-messenger}
|
||||
@@ -353,6 +353,7 @@ services:
|
||||
OUTBOX_CLAIM_TTL: ${OUTBOX_CLAIM_TTL:-30s}
|
||||
OUTBOX_BATCH: ${OUTBOX_BATCH:-20}
|
||||
OUTBOX_REAPER_INTERVAL: ${OUTBOX_REAPER_INTERVAL:-15s}
|
||||
OUTBOX_RECONCILE_AFTER: ${OUTBOX_RECONCILE_AFTER:-5m}
|
||||
OUTBOX_RETENTION: ${OUTBOX_RETENTION:-168h}
|
||||
RELAY_HEALTH_ADDR: ":8082"
|
||||
FAULTS_ENABLED: ${FAULTS_ENABLED:-0}
|
||||
@@ -384,7 +385,7 @@ services:
|
||||
# Public entry point. Active /health/ready probes remove a not-ready replica from
|
||||
# rotation entirely; infra/lb/haproxy.cfg holds the upstream, checks and retries.
|
||||
lb:
|
||||
image: haproxy:3.2-alpine
|
||||
image: haproxy:3.2-alpine@sha256:254e6370f01cd654e0744edf607c67f33777c1b6a9dc0d4b28bcba7171460122
|
||||
volumes:
|
||||
- ./infra/lb/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user