344 lines
9.1 KiB
JSON
344 lines
9.1 KiB
JSON
{
|
|
"scan_samples": [
|
|
{
|
|
"mode": "dry-run",
|
|
"grace_seconds": 120,
|
|
"objects": 11,
|
|
"rows": 13,
|
|
"s3_requests": 12,
|
|
"elapsed_ms": 331.6122,
|
|
"peak_process_bytes": 109236224,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "would_mark_missing"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "dry-run",
|
|
"grace_seconds": 120,
|
|
"objects": 11,
|
|
"rows": 13,
|
|
"s3_requests": 12,
|
|
"elapsed_ms": 891.0122,
|
|
"peak_process_bytes": 109002752,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "would_mark_missing"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "dry-run",
|
|
"grace_seconds": 120,
|
|
"objects": 11,
|
|
"rows": 13,
|
|
"s3_requests": 12,
|
|
"elapsed_ms": 447.3227,
|
|
"peak_process_bytes": 108912640,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "would_mark_missing"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"checks": [
|
|
"Private bucket and scoped credentials; injected missing S3 object",
|
|
"Interrupted upload not published; DB failure after PUT leaves reconcilable orphan; S3 outage recovers",
|
|
"dry-run is read-only",
|
|
"old orphan and unused data removed",
|
|
"referenced missing marked, link retained",
|
|
"fresh and referenced originals preserved, including missing metadata",
|
|
"repeat is idempotent"
|
|
],
|
|
"dry_run": {
|
|
"mode": "dry-run",
|
|
"grace_seconds": 120,
|
|
"objects": 24,
|
|
"rows": 24,
|
|
"s3_requests": 24,
|
|
"elapsed_ms": 357.8247,
|
|
"peak_process_bytes": 110813184,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "orphan",
|
|
"key": "originals/e3a392e3f738404cba19b468fe352717",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "orphan",
|
|
"key": "originals/ea6da2ae592743b5b73c50d88327c373",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "006bad4a-a53f-428d-ad1d-a7ba2c09d86f",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "02c88001-0bf8-486d-820a-801a78e69ff4",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "10456f24-dbcc-42f6-97d9-b436b758a8f0",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "2b26cc4b-027c-4edc-b9af-812165df6a08",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "6421d396-be20-489b-9887-f27c39572c63",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "71cc04ef-ee0f-4939-a080-d471e7e5c715",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "74975234-bbb8-42a0-99ce-53b0f40a6229",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "9e1834dc-a0b5-45d2-97a7-5c4c3a72178a",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "a2d209c6-6565-4284-ba3b-4e199caf417e",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "would_mark_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "be5bac60-6b2d-4271-9315-064734e5987b",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "dd176b2b-3e1a-4bd1-a25e-4be60276c2f0",
|
|
"action": "would_delete"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "ddce32cc-af2a-433e-b103-e833ca6d8945",
|
|
"action": "would_delete"
|
|
}
|
|
]
|
|
},
|
|
"apply": {
|
|
"mode": "apply",
|
|
"grace_seconds": 120,
|
|
"objects": 24,
|
|
"rows": 24,
|
|
"s3_requests": 38,
|
|
"elapsed_ms": 498.8064,
|
|
"peak_process_bytes": 110981120,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "orphan",
|
|
"key": "originals/e3a392e3f738404cba19b468fe352717",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "orphan",
|
|
"key": "originals/ea6da2ae592743b5b73c50d88327c373",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "006bad4a-a53f-428d-ad1d-a7ba2c09d86f",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "02c88001-0bf8-486d-820a-801a78e69ff4",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "10456f24-dbcc-42f6-97d9-b436b758a8f0",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "2b26cc4b-027c-4edc-b9af-812165df6a08",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "marked_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "6421d396-be20-489b-9887-f27c39572c63",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "71cc04ef-ee0f-4939-a080-d471e7e5c715",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "74975234-bbb8-42a0-99ce-53b0f40a6229",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "marked_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "9e1834dc-a0b5-45d2-97a7-5c4c3a72178a",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "a2d209c6-6565-4284-ba3b-4e199caf417e",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "marked_missing"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "be5bac60-6b2d-4271-9315-064734e5987b",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "dd176b2b-3e1a-4bd1-a25e-4be60276c2f0",
|
|
"action": "deleted"
|
|
},
|
|
{
|
|
"kind": "unreferenced",
|
|
"id": "ddce32cc-af2a-433e-b103-e833ca6d8945",
|
|
"action": "deleted"
|
|
}
|
|
]
|
|
},
|
|
"repeat": {
|
|
"mode": "apply",
|
|
"grace_seconds": 120,
|
|
"objects": 11,
|
|
"rows": 13,
|
|
"s3_requests": 12,
|
|
"elapsed_ms": 346.2962,
|
|
"peak_process_bytes": 108949504,
|
|
"actions": [
|
|
{
|
|
"kind": "missing_metadata",
|
|
"key": "originals/d96908adeb83441eb7e01b224c82891e",
|
|
"action": "preserved_used_original"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "2eca82ac-62ef-4e6d-b9fd-cba86685189b",
|
|
"action": "marked_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "8bb8a27c-fdcc-41eb-b5f5-7f18ea19674f",
|
|
"action": "marked_missing"
|
|
},
|
|
{
|
|
"kind": "missing",
|
|
"id": "bdc4e3a3-7659-4ec1-8b55-60b0f16843c9",
|
|
"action": "marked_missing"
|
|
}
|
|
]
|
|
},
|
|
"safety_wait_seconds": 111.50906662500347,
|
|
"assumption": "exclusive PostgreSQL advisory gate; all app writers use shared gate; 120s minimum grace; no automatic restore without backup",
|
|
"source_sha256": "453a3911fc23e5b218fac508073a3d93b6ace5f530a0ddec7619f153d8532d6f",
|
|
"environment": "linux aarch64 8 CPUs 4106604544 bytes RAM"
|
|
}
|