Record the track 2 demo and the cost of a pass up to 100k

The demo on a clean stand (61dcb6b) passes 13 of 13 checks: the dry-run
finds exactly the injected ids in every class, apply writes one
audit.attachment_discarded reason=reconcile per stale intent, the
original bytes leave the quarantine while random bytes of the same
length keep it, docker stop ends a pass hanging on a paused S3 in
0.11 s with exit code 143, and 74 passes during 3454 uploads lose no
ready attachment; 46 times the HEAD recheck kept an in-flight upload
out of the quarantine.

The cost matrix now reaches 100k: a shallow pass takes 0.108 / 1.032 /
3.761 / 20.211 s for 1k / 10k / 30k / 100k with ceil(N/1000) listings
and SQL pages and the same 87-88 MiB of RSS. t(100k)/t(10k) is 19.6,
outside the preregistered 10 +- 30 %, because a RustFS listing page
costs 91 ms at 1k and 197 ms at 100k objects in the prefix; the
reconciler's own CPU and SQL stay linear. The previous 30k series moves
to cost-b191623/, and the old after-checks give way to the full series
that follows the track.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-30 09:54:29 +03:00
co-authored by Claude Opus 5.5
parent 6ffb90d1d1
commit d2e684f0cf
72 changed files with 6333 additions and 4241 deletions
+69 -57
View File
@@ -1,75 +1,75 @@
{
"started_at": "2026-10-30T03:36:18Z",
"commit": "5c3c238",
"started_at": "2026-10-30T06:09:31Z",
"commit": "61dcb6b",
"faults": {
"injected": {
"orphan_stale": [
"87628221-3345-4132-aecd-e73599775aee",
"a8114789-f176-44d5-8b05-8a680f0fe748",
"48a0d380-9f91-4c0a-8f8e-28245cf232d6"
"aeebb4d7-95f8-4ebd-ac86-1031bc42e469",
"57198272-dd0d-46d6-97f0-e68295a5e65e",
"fc854d9e-6be4-4b3a-a676-d2dcf9be5993"
],
"missing": [
"01a18ae1-3a28-7787-966a-82d0e9d03c3e",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-398b-70fa-97ec-8bd9575df28c"
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7f51-7100-9ff4-889e89caccd9"
],
"size_mismatch": [
"01a18ae1-3a39-70f1-85a1-e44886ad2399",
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-3a31-7218-b535-13bed0785a1b"
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea",
"01a18b6d-7fcb-759d-913d-211ccaa962ad"
],
"sha_mismatch": [
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2",
"01a18ae1-3a42-720c-9027-57607a41b3fb"
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1",
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5"
],
"pending_stale": [
"54c99776-2646-4c17-82cc-850c127a8bcb",
"565a4877-f2b6-4b6b-92c9-7a52530d43ff",
"d0aba66b-62cd-4c5c-bfba-69f002e94493",
"5b16bada-62a1-4d85-b5c8-d558b1d00360",
"08b76286-4490-413c-8a90-cda6d8c81364",
"8fb9339c-c7a0-49ef-8cd1-058a87a351ad"
"4fe15617-cab8-469d-a25e-34a981e7c4c5",
"2a195d07-ad0a-415c-9d36-f1a6d367c616",
"6678cf2a-8292-4943-8955-75d7df8f9307",
"32651f33-918e-4dff-a137-f0b4196286a1",
"8ec129d3-3721-4449-af97-4355cc19dd80",
"42fba42a-d020-4f89-aad3-e9e21840d25b"
],
"orphan_fresh": [
"e26f690b-11ec-4540-b34d-a85b00ab8398",
"be85cf70-7931-4917-b839-9a9d7496b041"
"4b21266b-8dfc-4c67-9ffc-11575d794795",
"fa6c3d18-8e06-4b14-8a7d-acd5e1671890"
],
"pending_fresh": [
"be34c7f5-2c8b-4e95-b7f1-5a949ffb633e",
"acd92195-baee-4647-ba55-e9258240c898"
"80259edc-7cb8-4181-9878-f642a2b34d71",
"a3e9efb4-3de5-43a8-8d18-296bf48cc4f8"
]
},
"targets": {
"missing": [
"01a18ae1-398b-70fa-97ec-8bd9575df28c",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-3a28-7787-966a-82d0e9d03c3e"
"01a18b6d-7f51-7100-9ff4-889e89caccd9",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6"
],
"corrupt": [
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-3a31-7218-b535-13bed0785a1b",
"01a18ae1-3a39-70f1-85a1-e44886ad2399"
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fcb-759d-913d-211ccaa962ad",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea"
],
"bitflip": [
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a42-720c-9027-57607a41b3fb",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2"
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5",
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1"
]
},
"linked": [
"01a18ae1-398b-70fa-97ec-8bd9575df28c",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a0d-72ee-898c-647c03e98798",
"01a18ae1-3a1f-7044-82a6-1fac3ffdeebc"
"01a18b6d-7f51-7100-9ff4-889e89caccd9",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7faf-755c-8611-45ce0959e2d8",
"01a18b6d-7fb8-736c-82d1-6b8705f0d8d5"
]
},
"seconds": 248.3,
"seconds": 257.9,
"checks": [
{
"name": "dry-run находит каждый внедрённый класс",
"name": "dry-run находит каждый внедрённый класс, и найдено ровно внедрённое",
"ok": true,
"expected": {
"orphan_stale": 3,
@@ -106,7 +106,7 @@
]
},
{
"name": "apply исправляет ровно найденное dry-run",
"name": "apply исправляет ровно найденное dry-run, удаление намерений — в журнале аудита",
"ok": true,
"dry_run": {
"orphan_stale": 3,
@@ -121,7 +121,8 @@
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6
}
},
"audit_discarded": 6
},
{
"name": "повторный apply — 0 действий",
@@ -169,15 +170,15 @@
"name": "строки с расхождениями и ссылки сообщений сохранены",
"ok": true,
"quarantine": {
"01a18ae1-398b-70fa-97ec-8bd9575df28c": "missing",
"01a18ae1-39be-7126-bee7-b8d03ea89876": "missing",
"01a18ae1-39cf-70c4-87ec-8a0e01854664": "size_mismatch",
"01a18ae1-39da-71b9-ba5d-08d485329231": "sha_mismatch",
"01a18ae1-3a28-7787-966a-82d0e9d03c3e": "missing",
"01a18ae1-3a31-7218-b535-13bed0785a1b": "size_mismatch",
"01a18ae1-3a39-70f1-85a1-e44886ad2399": "size_mismatch",
"01a18ae1-3a42-720c-9027-57607a41b3fb": "sha_mismatch",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2": "sha_mismatch"
"01a18b6d-7f51-7100-9ff4-889e89caccd9": "missing",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39": "missing",
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55": "size_mismatch",
"01a18b6d-7fa5-75f1-accf-49b1e660d865": "sha_mismatch",
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6": "missing",
"01a18b6d-7fcb-759d-913d-211ccaa962ad": "size_mismatch",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea": "size_mismatch",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5": "sha_mismatch",
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1": "sha_mismatch"
},
"message_links": 6
},
@@ -186,7 +187,7 @@
"ok": true
},
{
"name": "восстановленный объект выходит из карантина",
"name": "вернули те же байты — карантин снят; другие байты той же длины — остался",
"ok": true,
"fixed": {
"orphan_stale": 0,
@@ -195,17 +196,28 @@
"sha_mismatch": 0,
"pending_stale": 0,
"healed": 1
}
},
"s3_get": 5
},
{
"name": "второй одновременный проход пропущен",
"ok": true
},
{
"name": "SIGTERM: идущий проход останавливается за секунды, блокировка освобождена",
"ok": true,
"s3": "paused",
"state_before_stop": "running",
"init": "true",
"stop_seconds": 0.11,
"exit_code": 143,
"next_pass_skipped": false
},
{
"name": "S3 остановлен: код 1 за ограниченное время, состояние не изменилось",
"ok": true,
"exit_code": 1,
"wall_seconds": 1.633
"wall_seconds": 2.802
},
{
"name": "под нагрузкой: исправлены только внедрённые, ошибок нет",
@@ -217,13 +229,13 @@
"sha_mismatch": 0,
"pending_stale": 5
},
"runs": 75
"runs": 74
},
{
"name": "под нагрузкой: все 201 готовы и совпадают по SHA-256, потерь 0",
"ok": true,
"uploads": {
"201": 3418
"201": 3454
},
"lost_ready": 0
}