docs: report reconcile cost results and evidence
Add the baseline label results to REPORT.md: H1, H2, H3 and S4 confirmed, H4 not verified (the fast-unlimited contrast did not saturate S3, r 1.08). Keep 2000 objects/s as a bound on the S3 share and give head/deep limits by S3 CPU per object. Refresh failure_checks (54/54, red run of task 1.3), test_isolated and the pace stop evidence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -171,3 +171,51 @@ driver_exit=0
|
||||
0 (раздел «Остановка во время сверки» выше);
|
||||
- `docker stop` — 5,0 с, меньше `stop_grace_period` 10 с, без SIGKILL;
|
||||
записей «Fixed» нет — ничего не изменено. S3 разморожен в `finally`.
|
||||
|
||||
## Остановка во время паузы предела скорости
|
||||
|
||||
Требование `graceful-shutdown` с change `track2-reconcile-cost`: сигнал
|
||||
прерывает паузу предела скорости сразу, а не после неё, и разовый проход
|
||||
выходит с кодом 1 не позже чем через секунду. Снято `driver.py
|
||||
reconcile-signal --pace` с commit `0072dbe` (код — `8d4cf7e`, `src` с
|
||||
него не менялся) 2026-10-23 16:09:08–16:09:18 UTC. Образ
|
||||
`mtusi-messenger:lab4` собран из того же кода. Проект compose —
|
||||
**временный** `rcpace`, устроенный как `rcsig` выше: хранилища на tmpfs,
|
||||
порты не публикуются, синтетические секреты, без плановой сверки
|
||||
(`RECONCILER__INTERVAL_SECONDS: "0"`), сервисы `postgres`, `s3`,
|
||||
`migrate`, `s3-bootstrap`, `cleaner` (`docker compose up -d --no-build
|
||||
--wait cleaner`). После — `docker compose down -v`: контейнеров `rcpace`
|
||||
0, volumes — 157, как до.
|
||||
|
||||
```
|
||||
$ COMPOSE_PROJECT_NAME=rcpace COMPOSE_FILE=… COMPOSE_ENV_FILES=… python3 .claude/skills/run-mtusi-messenger/driver.py reconcile-signal --pace
|
||||
rcpace: 8 probe objects put
|
||||
docker stop while reconcile waits for the rate limit pause
|
||||
rcpace: probe objects deleted
|
||||
== records of the one-off reconcile
|
||||
{"event": "Started cleaner", "level": "info", "mode": "reconcile", "reconcile_max_objects_per_second": 1.0, "timestamp": "2026-10-23T16:09:14.339183Z"}
|
||||
{"event": "Finished reconcile pass", "level": "warning", "listed_objects": 0, "storage_objects": 8, "max_objects_per_second": 1.0, "duration_ms": 2466, "interrupted_by": "stop", "timestamp": "2026-10-23T16:09:16.806155Z"}
|
||||
{"event": "Stopped cleaner", "level": "info", "exit_code": 1, "timestamp": "2026-10-23T16:09:16.808311Z"}
|
||||
docker stop took 0.2 s, container exited 0.03 s after the kill event, exit code 1
|
||||
Started cleaner (mode reconcile) expected yes got yes
|
||||
Started cleaner reconcile_max_objects_per_second expected 1 got 1
|
||||
exit code expected 1 got 1
|
||||
Finished reconcile pass interrupted_by expected stop got stop
|
||||
Stopped cleaner exit_code expected 1 got 1
|
||||
Fixed storage discrepancy records expected 0 got 0
|
||||
exited within 1 s after the signal expected yes got yes
|
||||
PASS: one-off reconcile stopped by SIGTERM during the rate limit pause: exit 1 within a second
|
||||
driver_exit=0
|
||||
```
|
||||
|
||||
- Восемь объектов пробы положены мимо API под `<база>/attachments/` с
|
||||
ключом, которого API не пишет. Разовый dry-run `reconcile
|
||||
--max-objects-per-second 1` после первой страницы списка затронул 8
|
||||
объектов S3 (`storage_objects`) и ушёл в паузу до графика (~8 с).
|
||||
Через 2 с после «Started cleaner» — `docker stop` (SIGTERM).
|
||||
- Пауза идёт кусками по 0,2 с с проверкой сигнала. Итог —
|
||||
`interrupted_by: "stop"`, «Stopped cleaner» с `exit_code` 1, код
|
||||
контейнера 1. От сигнала до выхода — 0,2 с (порог — 1 с), SIGKILL не
|
||||
понадобился. Записей «Fixed» нет, объекты пробы удалены в `finally`.
|
||||
- Тот же сигнал во время ожидания вызова S3 (раздел выше) — 5,0 с:
|
||||
текущий вызов доводится до срока, а паузу предела ждать не нужно.
|
||||
|
||||
Reference in New Issue
Block a user