ЛР 4: вложения в S3 и двусторонняя сверка хранилищ
This commit is contained in:
@@ -0,0 +1,333 @@
|
||||
{
|
||||
"faults": {
|
||||
"injected": [
|
||||
"delete PostgreSQL row",
|
||||
"delete S3 object",
|
||||
"S3 connection refused"
|
||||
],
|
||||
"dry_run": {
|
||||
"dry_run": true,
|
||||
"duration_ms": 31,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 4,
|
||||
"checked_in_db": 3,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 1,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 3,
|
||||
"s3_head_attempts": 3,
|
||||
"missing_objects": 1,
|
||||
"missing_attachment_ids": [
|
||||
"0d3b9f77-50a9-4d31-90fa-2d25b4cd613e"
|
||||
]
|
||||
},
|
||||
"wall_ms": 607.98
|
||||
},
|
||||
"bad_backup_rejected": {
|
||||
"dry_run": false,
|
||||
"duration_ms": 8,
|
||||
"complete": false,
|
||||
"wall_ms": 685.91
|
||||
},
|
||||
"restore_dry_run": {
|
||||
"dry_run": true,
|
||||
"duration_ms": 14,
|
||||
"complete": true,
|
||||
"restore": "would_restore",
|
||||
"wall_ms": 603.21
|
||||
},
|
||||
"restore": {
|
||||
"dry_run": false,
|
||||
"duration_ms": 22,
|
||||
"complete": true,
|
||||
"restore": "restored",
|
||||
"wall_ms": 431.95
|
||||
},
|
||||
"repeat_restore": {
|
||||
"dry_run": false,
|
||||
"duration_ms": 12,
|
||||
"complete": true,
|
||||
"restore": "already_present",
|
||||
"wall_ms": 430.94
|
||||
},
|
||||
"conditional_existing_put_status": 412,
|
||||
"apply": {
|
||||
"dry_run": false,
|
||||
"duration_ms": 190,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 5,
|
||||
"checked_in_db": 3,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 1,
|
||||
"objects_deleted": 1
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 3,
|
||||
"s3_head_attempts": 3,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 689.99
|
||||
},
|
||||
"repeat": {
|
||||
"dry_run": false,
|
||||
"duration_ms": 59,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 3,
|
||||
"checked_in_db": 2,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 3,
|
||||
"s3_head_attempts": 3,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 653.52
|
||||
},
|
||||
"s3_outage": {
|
||||
"dry_run": true,
|
||||
"duration_ms": 107,
|
||||
"complete": false,
|
||||
"missing_scan": {
|
||||
"db_pages": 0,
|
||||
"rows_scanned": 0,
|
||||
"s3_head_attempts": 0,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 869.21
|
||||
},
|
||||
"fresh_preserved": true,
|
||||
"linked_preserved": true,
|
||||
"unlinked_preserved": true,
|
||||
"sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
|
||||
"message_and_metadata_preserved": true,
|
||||
"outsider_status": 404
|
||||
},
|
||||
"cost": [
|
||||
{
|
||||
"synthetic_pairs": 30,
|
||||
"measured_pairs": 33,
|
||||
"runs": [
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 82,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 33,
|
||||
"checked_in_db": 33,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 33,
|
||||
"s3_head_attempts": 33,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 1791.83
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 100,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 33,
|
||||
"checked_in_db": 33,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 33,
|
||||
"s3_head_attempts": 33,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 588.31
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 32,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 33,
|
||||
"checked_in_db": 33,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 1,
|
||||
"rows_scanned": 33,
|
||||
"s3_head_attempts": 33,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 572.91
|
||||
}
|
||||
],
|
||||
"median_scan_ms": 82
|
||||
},
|
||||
{
|
||||
"synthetic_pairs": 230,
|
||||
"measured_pairs": 233,
|
||||
"runs": [
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 227,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 233,
|
||||
"checked_in_db": 233,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 2,
|
||||
"rows_scanned": 233,
|
||||
"s3_head_attempts": 233,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 826.69
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 132,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 233,
|
||||
"checked_in_db": 233,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 2,
|
||||
"rows_scanned": 233,
|
||||
"s3_head_attempts": 233,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 591.24
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 147,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 1,
|
||||
"objects_scanned": 233,
|
||||
"checked_in_db": 233,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 2,
|
||||
"rows_scanned": 233,
|
||||
"s3_head_attempts": 233,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 699.16
|
||||
}
|
||||
],
|
||||
"median_scan_ms": 147
|
||||
},
|
||||
{
|
||||
"synthetic_pairs": 1050,
|
||||
"measured_pairs": 1053,
|
||||
"runs": [
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 629,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 2,
|
||||
"objects_scanned": 1053,
|
||||
"checked_in_db": 1053,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 6,
|
||||
"rows_scanned": 1053,
|
||||
"s3_head_attempts": 1053,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 1885.23
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 587,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 2,
|
||||
"objects_scanned": 1053,
|
||||
"checked_in_db": 1053,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 6,
|
||||
"rows_scanned": 1053,
|
||||
"s3_head_attempts": 1053,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 1125.28
|
||||
},
|
||||
{
|
||||
"dry_run": true,
|
||||
"duration_ms": 3070,
|
||||
"complete": true,
|
||||
"orphan_scan": {
|
||||
"s3_pages": 2,
|
||||
"objects_scanned": 1053,
|
||||
"checked_in_db": 1053,
|
||||
"busy": 0,
|
||||
"orphan_candidates": 0,
|
||||
"objects_deleted": 0
|
||||
},
|
||||
"missing_scan": {
|
||||
"db_pages": 6,
|
||||
"rows_scanned": 1053,
|
||||
"s3_head_attempts": 1053,
|
||||
"missing_objects": 0,
|
||||
"missing_attachment_ids": []
|
||||
},
|
||||
"wall_ms": 4871.64
|
||||
}
|
||||
],
|
||||
"median_scan_ms": 629
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user