feat: add reconcile strategies, deep check, rate limit and cost profile
- reconcile --strategy head, --deep (checksum_mismatch), restore needs the same SHA-256 - [reconciler] max_objects_per_second (2000), pause interrupted by signal - --apply stops rechecks once the limit is exceeded (unchecked) - pass cost in the summary: S3 objects and requests, bytes, DB sessions, phases - S3 client counters, cleaner exits with os._exit after main() - fault tests, hook args, driver reconcile-signal --pace - bench profile reconcile / reconcile_quick: fill outside the API, gateway metrics, background load - sync spec deltas, rules, AGENTS.md, PLAN.md Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -313,7 +313,11 @@ git ls-files -z -co --exclude-standard | tar --null -T - -cf - | docker build -t
|
||||
уборщика нет; разовый проход — `docker compose run --rm --no-deps
|
||||
cleaner --once`. Стенд отказов запускает его с grace 20 с, интервалом
|
||||
1 с и без плановой сверки (`RECONCILER__INTERVAL_SECONDS: "0"`,
|
||||
`student-tests.md`), `bench/` описывает (тоже с 0), но не запускает.
|
||||
`student-tests.md`), `bench/` описывает (тоже с 0) и запускает только
|
||||
разовыми проходами профиля сверки (`bench.md`, «Профиль сверки»). Выход
|
||||
процесса — `os._exit` после `main()` (`src/cleaner/__main__.py`):
|
||||
финализация интерпретатора при 0,25 CPU — до 1,5 с (design change
|
||||
`track2-reconcile-cost`, «Уточнения apply», п. 14).
|
||||
С change `track2-reconciler` сервис ещё и сверяет bucket с БД — при
|
||||
старте и раз в `[reconciler] interval_seconds` (3600 с); разовая
|
||||
сверка — `make reconcile [APPLY=1] [MAX_CHANGES=N]` (`docker compose
|
||||
|
||||
Reference in New Issue
Block a user