fix: restart stack without recreating containers in evidence collection
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
# Фоновая обработка: сценарии защиты уровней 3 и 4 (scripts/job-scenario.py)
|
||||
# date: 2026-11-20T13:49:13Z
|
||||
# commit: 5f870e4
|
||||
|
||||
## restart
|
||||
$ python3 scripts/job-scenario.py restart
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## crash-after-store
|
||||
$ python3 scripts/job-scenario.py crash-after-store
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## crash-after-commit
|
||||
$ python3 scripts/job-scenario.py crash-after-commit
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## outbox-gap
|
||||
$ python3 scripts/job-scenario.py outbox-gap
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## relay-crash
|
||||
$ python3 scripts/job-scenario.py relay-crash
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## retry-replay
|
||||
$ python3 scripts/job-scenario.py retry-replay
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## broker
|
||||
$ python3 scripts/job-scenario.py broker
|
||||
API did not become ready
|
||||
EXIT CODE 1
|
||||
|
||||
## Итог по всем заданиям стенда
|
||||
$ docker compose exec -T postgres psql -U messenger -d messenger -c SELECT status, count(*) FROM attachment_jobs GROUP BY status -c SELECT count(*) AS unpublished_outbox FROM outbox WHERE published_at IS NULL -c SELECT count(*) AS staging_left_on_ready FROM attachments WHERE status = 'ready' AND staging_key IS NOT NULL
|
||||
status | count
|
||||
--------+-------
|
||||
(0 rows)
|
||||
|
||||
unpublished_outbox
|
||||
--------------------
|
||||
0
|
||||
(1 row)
|
||||
|
||||
staging_left_on_ready
|
||||
-----------------------
|
||||
0
|
||||
(1 row)
|
||||
|
||||
|
||||
## Последний проход reconciler
|
||||
Reference in New Issue
Block a user