Files
mtusi2026lab2/evidence/reconcile/apply-1.json
T
ArtyomandClaude Opus 5.5 d2e684f0cf 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
2026-10-30 09:54:29 +03:00

141 lines
3.8 KiB
JSON

{
"mode": "apply",
"skipped": false,
"grace_seconds": 60,
"skew_seconds": 0,
"deep": true,
"page_size": 1000,
"scanned": {
"objects": 24,
"rows": 27
},
"found": {
"orphan_stale": 3,
"orphan_fresh": 2,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"pending_fresh": 2,
"quarantined": 0,
"healed": 0
},
"fixed": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"healed": 0
},
"rechecked": {},
"errors": 0,
"samples": {
"missing": [
"01a18b6d-7f51-7100-9ff4-889e89caccd9",
"01a18b6d-7f6a-7296-81fd-fb883beb9b39",
"01a18b6d-7fc2-73ac-839f-0107ae03f9a6"
],
"size_mismatch": [
"01a18b6d-7f95-7491-92e4-8ecd4a5edd55",
"01a18b6d-7fcb-759d-913d-211ccaa962ad",
"01a18b6d-7fd4-77f4-98c3-ebe387a28aea"
],
"sha_mismatch": [
"01a18b6d-7fa5-75f1-accf-49b1e660d865",
"01a18b6d-7fdc-74b5-85bf-4a96931cd5d5",
"01a18b6d-7fe5-7056-a2f5-7cdf0aa614f1"
],
"pending_stale": [
"2a195d07-ad0a-415c-9d36-f1a6d367c616",
"32651f33-918e-4dff-a137-f0b4196286a1",
"42fba42a-d020-4f89-aad3-e9e21840d25b",
"4fe15617-cab8-469d-a25e-34a981e7c4c5",
"6678cf2a-8292-4943-8955-75d7df8f9307",
"8ec129d3-3721-4449-af97-4355cc19dd80"
],
"orphan_fresh": [
"attachments/4b21266b-8dfc-4c67-9ffc-11575d794795",
"attachments/fa6c3d18-8e06-4b14-8a7d-acd5e1671890"
],
"orphan_stale": [
"attachments/57198272-dd0d-46d6-97f0-e68295a5e65e",
"attachments/aeebb4d7-95f8-4ebd-ac86-1031bc42e469",
"attachments/fc854d9e-6be4-4b3a-a676-d2dcf9be5993"
],
"pending_fresh": [
"80259edc-7cb8-4181-9878-f642a2b34d71",
"a3e9efb4-3de5-43a8-8d18-296bf48cc4f8"
]
},
"cost": {
"seconds": 0.107,
"requests": {
"s3_list": 1,
"s3_head": 6,
"s3_get": 13,
"s3_delete": 9,
"sql": 19
},
"waited_seconds": {
"s3_list": 0.015,
"sql": 0.003
},
"hashed_bytes": 1453621,
"cpu_seconds": 0.479,
"max_rss_mib": 84.9
},
"exit_code": 0,
"wall_seconds": 0.922,
"audit": [
{
"attachment_id": "2a195d07-ad0a-415c-9d36-f1a6d367c616",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.376524Z"
},
{
"attachment_id": "32651f33-918e-4dff-a137-f0b4196286a1",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.386996Z"
},
{
"attachment_id": "42fba42a-d020-4f89-aad3-e9e21840d25b",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.396935Z"
},
{
"attachment_id": "4fe15617-cab8-469d-a25e-34a981e7c4c5",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.398761Z"
},
{
"attachment_id": "6678cf2a-8292-4943-8955-75d7df8f9307",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.409239Z"
},
{
"attachment_id": "8ec129d3-3721-4449-af97-4355cc19dd80",
"chat_id": "01a18b6d-798f-75e5-ac4e-9af3b84aaa94",
"reason": "reconcile",
"event": "audit.attachment_discarded",
"level": "info",
"ts": "2026-10-30T06:10:43.418544Z"
}
]
}