forked from mtusi2026/mtusi2026lab4
fix(lab4): preserve error contract and verify storage consistency
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"date": "2026-11-11 18:21:28",
|
||||
"cost_of_scan": [
|
||||
{
|
||||
"db_rows": 19554,
|
||||
"s3_objects": 19530,
|
||||
"timing_ms": {
|
||||
"db_query": 20.2,
|
||||
"s3_listing": 3540.6,
|
||||
"total": 3649.4
|
||||
},
|
||||
"upload_batch_seconds": 2.3
|
||||
},
|
||||
{
|
||||
"db_rows": 20554,
|
||||
"s3_objects": 20530,
|
||||
"timing_ms": {
|
||||
"db_query": 19.0,
|
||||
"s3_listing": 3697.2,
|
||||
"total": 3806.4
|
||||
},
|
||||
"upload_batch_seconds": 2.2
|
||||
},
|
||||
{
|
||||
"db_rows": 21554,
|
||||
"s3_objects": 21530,
|
||||
"timing_ms": {
|
||||
"db_query": 21.2,
|
||||
"s3_listing": 3939.1,
|
||||
"total": 4055.0
|
||||
},
|
||||
"upload_batch_seconds": 2.1
|
||||
}
|
||||
],
|
||||
"args": {
|
||||
"out": "evidence\\recheck_2026-11-11",
|
||||
"total": 3000
|
||||
},
|
||||
"injected": {
|
||||
"orphan_objects": 20,
|
||||
"missing_objects": 20,
|
||||
"size_mismatch": 5
|
||||
},
|
||||
"dry_run": {
|
||||
"orphan_objects_count": 20,
|
||||
"missing_objects_count": 20,
|
||||
"size_mismatch_count": 5,
|
||||
"orphans_skipped_fresh": 0,
|
||||
"timing_ms": {
|
||||
"db_query": 18.7,
|
||||
"s3_listing": 3652.1,
|
||||
"total": 3761.7
|
||||
},
|
||||
"fixed": {
|
||||
"deleted_orphans": 0,
|
||||
"marked_failed": 0
|
||||
}
|
||||
},
|
||||
"dry_run_repeatable": true,
|
||||
"dry_run_found_exactly_injected": true,
|
||||
"apply": {
|
||||
"fixed": {
|
||||
"deleted_orphans": 20,
|
||||
"marked_failed": 25
|
||||
},
|
||||
"orphans_skipped_fresh": 0,
|
||||
"timing_ms": {
|
||||
"db_query": 19.1,
|
||||
"s3_listing": 3859.1,
|
||||
"total": 4048.6
|
||||
},
|
||||
"orphan_objects_count": 20,
|
||||
"missing_objects_count": 20,
|
||||
"size_mismatch_count": 5
|
||||
},
|
||||
"fresh_uploads_during_apply": {
|
||||
"uploaded": 200,
|
||||
"intact": 200
|
||||
},
|
||||
"in_use_attachments_intact": "200/200",
|
||||
"message_bindings": {
|
||||
"messages": 20,
|
||||
"attachments": 200,
|
||||
"unchanged": true
|
||||
},
|
||||
"second_apply_idempotent": {
|
||||
"fixed": {
|
||||
"deleted_orphans": 0,
|
||||
"marked_failed": 0
|
||||
},
|
||||
"orphan_objects_count": 0,
|
||||
"missing_objects_count": 0
|
||||
},
|
||||
"marked_failed": [
|
||||
"object_missing=20",
|
||||
"size_mismatch=5"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user