lab4: отчёт и доказательства итогового прогона
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"preexisting_rows": 4,
|
||||
"object_size_bytes": 1024,
|
||||
"runs": [
|
||||
{
|
||||
"bench_pairs": 1000,
|
||||
"rows_scanned": 1004,
|
||||
"objects_scanned": 1004,
|
||||
"duration_ms_runs": [
|
||||
96,
|
||||
134,
|
||||
77
|
||||
],
|
||||
"duration_ms_median": 96,
|
||||
"us_per_pair": 95.6,
|
||||
"calls": {
|
||||
"s3_list_pages": 2
|
||||
},
|
||||
"heap_alloc_mb": 2.3624496459960938,
|
||||
"found": {},
|
||||
"wait_ms_runs": [
|
||||
{
|
||||
"db_stream": 0,
|
||||
"s3_list": 96
|
||||
},
|
||||
{
|
||||
"db_stream": 74,
|
||||
"s3_list": 59
|
||||
},
|
||||
{
|
||||
"db_stream": 0,
|
||||
"s3_list": 76
|
||||
}
|
||||
],
|
||||
"seed_seconds": 4.6
|
||||
},
|
||||
{
|
||||
"bench_pairs": 10000,
|
||||
"rows_scanned": 10004,
|
||||
"objects_scanned": 10004,
|
||||
"duration_ms_runs": [
|
||||
2642,
|
||||
2959,
|
||||
2647
|
||||
],
|
||||
"duration_ms_median": 2647,
|
||||
"us_per_pair": 264.6,
|
||||
"calls": {
|
||||
"s3_list_pages": 11
|
||||
},
|
||||
"heap_alloc_mb": 3.414703369140625,
|
||||
"found": {},
|
||||
"wait_ms_runs": [
|
||||
{
|
||||
"db_stream": 58,
|
||||
"s3_list": 2582
|
||||
},
|
||||
{
|
||||
"db_stream": 92,
|
||||
"s3_list": 2863
|
||||
},
|
||||
{
|
||||
"db_stream": 235,
|
||||
"s3_list": 2410
|
||||
}
|
||||
],
|
||||
"seed_seconds": 36.3
|
||||
},
|
||||
{
|
||||
"bench_pairs": 30000,
|
||||
"rows_scanned": 30004,
|
||||
"objects_scanned": 30004,
|
||||
"duration_ms_runs": [
|
||||
11483,
|
||||
8374,
|
||||
7803
|
||||
],
|
||||
"duration_ms_median": 8374,
|
||||
"us_per_pair": 279.1,
|
||||
"calls": {
|
||||
"s3_list_pages": 31
|
||||
},
|
||||
"heap_alloc_mb": 2.1787872314453125,
|
||||
"found": {},
|
||||
"wait_ms_runs": [
|
||||
{
|
||||
"db_stream": 157,
|
||||
"s3_list": 11235
|
||||
},
|
||||
{
|
||||
"db_stream": 127,
|
||||
"s3_list": 8238
|
||||
},
|
||||
{
|
||||
"db_stream": 292,
|
||||
"s3_list": 7502
|
||||
}
|
||||
],
|
||||
"seed_seconds": 81.8
|
||||
}
|
||||
],
|
||||
"with_1pct_faults": {
|
||||
"injected_missing": 150,
|
||||
"injected_orphans": 150,
|
||||
"duration_ms": 10344,
|
||||
"found": {
|
||||
"missing_object": 150
|
||||
},
|
||||
"skipped": {
|
||||
"fresh_missing": 1,
|
||||
"fresh_object": 151
|
||||
},
|
||||
"calls": {
|
||||
"s3_list_pages": 31,
|
||||
"s3_stat": 150
|
||||
}
|
||||
},
|
||||
"note": "dry-run, grace 1h: свежие сироты учитываются как skipped.fresh_object, а не удаляются"
|
||||
}
|
||||
@@ -0,0 +1,327 @@
|
||||
{
|
||||
"injected": {
|
||||
"orphan_old": 1,
|
||||
"orphan_fresh": 1,
|
||||
"deleted_objects": 3,
|
||||
"resized_object": 1,
|
||||
"stale_intents": 2,
|
||||
"inflight_intent": 1
|
||||
},
|
||||
"dry_run_found": {
|
||||
"orphan_object": 1,
|
||||
"stale_intent": 2,
|
||||
"missing_object": 3,
|
||||
"size_mismatch": 1
|
||||
},
|
||||
"dry_run_state_changed": false,
|
||||
"apply_found": {
|
||||
"orphan_object": 1,
|
||||
"stale_intent": 2,
|
||||
"missing_object": 3,
|
||||
"size_mismatch": 1
|
||||
},
|
||||
"second_apply_actions": 0,
|
||||
"restored": 1,
|
||||
"after_grace": {
|
||||
"purge_missing": 2,
|
||||
"orphan_object": 1
|
||||
},
|
||||
"never_deleted": [
|
||||
"fresh orphan (until grace)",
|
||||
"in-flight intent",
|
||||
"referenced quarantined row",
|
||||
"healthy rows"
|
||||
],
|
||||
"reports": {
|
||||
"dry_run": {
|
||||
"dry_run": true,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-04T17:58:32.353041Z",
|
||||
"duration_ms": 9,
|
||||
"rows_scanned": 9,
|
||||
"objects_scanned": 7,
|
||||
"consistent": 2,
|
||||
"found": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"fixed": {},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_haskey": 1,
|
||||
"s3_list_pages": 1,
|
||||
"s3_stat": 3
|
||||
},
|
||||
"heap_alloc_mb": 1.617706298828125,
|
||||
"wait_ms": {
|
||||
"db_stream": 1,
|
||||
"s3_list": 4
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/487d3da8-a285-4ce5-9899-6e38a7cd6fe1",
|
||||
"attachment_id": "487d3da8-a285-4ce5-9899-6e38a7cd6fe1",
|
||||
"action": "would_quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"attachment_id": "53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"action": "would_quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"attachment_id": "6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"action": "would_quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "size_mismatch",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"attachment_id": "8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"action": "would_quarantine",
|
||||
"detail": "db=21584 s3=777"
|
||||
},
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/a6d04b87-c491-4ed5-81fa-ea96e5d08ee9",
|
||||
"action": "would_delete_object",
|
||||
"detail": "size=5000 modified=2026-11-04T17:58:29Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/d0063925-daca-4082-ac3a-a10efd6a1444",
|
||||
"attachment_id": "d0063925-daca-4082-ac3a-a10efd6a1444",
|
||||
"action": "would_delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-04T17:28:29Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/eb82fd74-7aab-43af-b9a5-4e1f40e78112",
|
||||
"attachment_id": "eb82fd74-7aab-43af-b9a5-4e1f40e78112",
|
||||
"action": "would_delete_intent",
|
||||
"detail": "updated_at=2026-11-04T17:28:29Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"apply": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-04T17:58:33.32222Z",
|
||||
"duration_ms": 21,
|
||||
"rows_scanned": 9,
|
||||
"objects_scanned": 7,
|
||||
"consistent": 2,
|
||||
"found": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"fixed": {
|
||||
"missing_object": 3,
|
||||
"orphan_object": 1,
|
||||
"size_mismatch": 1,
|
||||
"stale_intent": 2
|
||||
},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_delete": 2,
|
||||
"db_haskey": 1,
|
||||
"db_update": 4,
|
||||
"s3_delete": 2,
|
||||
"s3_list_pages": 1,
|
||||
"s3_stat": 3
|
||||
},
|
||||
"heap_alloc_mb": 1.6486282348632812,
|
||||
"wait_ms": {
|
||||
"db_stream": 2,
|
||||
"s3_list": 8
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/487d3da8-a285-4ce5-9899-6e38a7cd6fe1",
|
||||
"attachment_id": "487d3da8-a285-4ce5-9899-6e38a7cd6fe1",
|
||||
"action": "quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"attachment_id": "53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"action": "quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "missing_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"attachment_id": "6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"action": "quarantine"
|
||||
},
|
||||
{
|
||||
"kind": "size_mismatch",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"attachment_id": "8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"action": "quarantine",
|
||||
"detail": "db=21584 s3=777"
|
||||
},
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/a6d04b87-c491-4ed5-81fa-ea96e5d08ee9",
|
||||
"action": "delete_object",
|
||||
"detail": "size=5000 modified=2026-11-04T17:58:29Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/d0063925-daca-4082-ac3a-a10efd6a1444",
|
||||
"attachment_id": "d0063925-daca-4082-ac3a-a10efd6a1444",
|
||||
"action": "delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-04T17:28:29Z"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/eb82fd74-7aab-43af-b9a5-4e1f40e78112",
|
||||
"attachment_id": "eb82fd74-7aab-43af-b9a5-4e1f40e78112",
|
||||
"action": "delete_intent",
|
||||
"detail": "updated_at=2026-11-04T17:28:29Z"
|
||||
}
|
||||
]
|
||||
},
|
||||
"second_apply": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-04T17:58:34.437947Z",
|
||||
"duration_ms": 7,
|
||||
"rows_scanned": 7,
|
||||
"objects_scanned": 5,
|
||||
"consistent": 2,
|
||||
"found": {},
|
||||
"fixed": {},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_missing": 4,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.5324172973632812,
|
||||
"wait_ms": {
|
||||
"db_stream": 1,
|
||||
"s3_list": 5
|
||||
},
|
||||
"errors": [],
|
||||
"items": []
|
||||
},
|
||||
"restore": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-04T17:58:35.409159Z",
|
||||
"duration_ms": 9,
|
||||
"rows_scanned": 7,
|
||||
"objects_scanned": 6,
|
||||
"consistent": 2,
|
||||
"found": {
|
||||
"restored": 1
|
||||
},
|
||||
"fixed": {
|
||||
"restored": 1
|
||||
},
|
||||
"skipped": {
|
||||
"fresh_intent": 1,
|
||||
"fresh_missing": 3,
|
||||
"fresh_object": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_update": 1,
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.5385284423828125,
|
||||
"wait_ms": {
|
||||
"db_stream": 2,
|
||||
"s3_list": 4
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "restored",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"attachment_id": "53cd96c6-d5c3-47ab-a43a-816dda2374a0",
|
||||
"action": "set_ready"
|
||||
}
|
||||
]
|
||||
},
|
||||
"after_grace": {
|
||||
"dry_run": false,
|
||||
"grace_seconds": 8,
|
||||
"cutoff": "2026-11-04T17:58:44.831107Z",
|
||||
"duration_ms": 15,
|
||||
"rows_scanned": 7,
|
||||
"objects_scanned": 6,
|
||||
"consistent": 3,
|
||||
"found": {
|
||||
"orphan_object": 1,
|
||||
"purge_missing": 2,
|
||||
"stale_intent": 1
|
||||
},
|
||||
"fixed": {
|
||||
"orphan_object": 1,
|
||||
"purge_missing": 2,
|
||||
"stale_intent": 1
|
||||
},
|
||||
"skipped": {
|
||||
"referenced_missing_kept": 1
|
||||
},
|
||||
"calls": {
|
||||
"db_delete": 3,
|
||||
"db_haskey": 1,
|
||||
"db_referenced": 3,
|
||||
"s3_delete": 2,
|
||||
"s3_list_pages": 1
|
||||
},
|
||||
"heap_alloc_mb": 1.608062744140625,
|
||||
"wait_ms": {
|
||||
"db_stream": 1,
|
||||
"s3_list": 5
|
||||
},
|
||||
"errors": [],
|
||||
"items": [
|
||||
{
|
||||
"kind": "orphan_object",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/09c263a0-158e-47eb-8695-f5e9317b103a",
|
||||
"action": "delete_object",
|
||||
"detail": "size=3000 modified=2026-11-04T17:58:39Z"
|
||||
},
|
||||
{
|
||||
"kind": "purge_missing",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"attachment_id": "6a0aafce-13bd-4f7b-8c9d-0b69eff7f0bf",
|
||||
"action": "delete_row"
|
||||
},
|
||||
{
|
||||
"kind": "stale_intent",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/8c948a33-b8e3-4e5c-bfe9-4331b1772d0e",
|
||||
"attachment_id": "8c948a33-b8e3-4e5c-bfe9-4331b1772d0e",
|
||||
"action": "delete_object_and_intent",
|
||||
"detail": "updated_at=2026-11-04T17:58:39Z"
|
||||
},
|
||||
{
|
||||
"kind": "purge_missing",
|
||||
"key": "a/556b5ec5-fe99-4946-bcdb-7e7ed5e60f06/8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"attachment_id": "8c99927b-f99a-4385-901e-68284f99c598",
|
||||
"action": "delete_row"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
2
|
||||
total used free shared buff/cache available
|
||||
Mem: 7932 1628 2851 80 3848 6304
|
||||
Swap: 3071 58 3013
|
||||
28.0.4
|
||||
Docker Compose version v2.38.2
|
||||
Reference in New Issue
Block a user