Report snapshot blobs missing from the destination in remote info (closes #425)
check / check (push) Waiting to run
check / check (push) Waiting to run
remote info now counts the blobs that a manifest lists but the destination does not hold, with their total size, and names each snapshot that lists one, since it cannot be restored. When any blob is missing the command exits non-zero after writing its report. --json gives the figures in missing_blob_count, missing_blob_size and snapshots_missing_blobs. Model: opus-5-5
This commit is contained in:
1 parent
9fedcbeb0a
commit
2aa6fc8f66
5 files changed
+144
-8
No files matched your search
@@ -554,6 +554,12 @@ count and blob size unknown, `null` in `--json`. A file under `blobs/` whose
|
||||
name is not a blob hash is not counted as a blob, since `prune` never deletes
|
||||
it.
|
||||
|
||||
A blob that a manifest lists but the destination does not hold is reported as
|
||||
missing, with a count and size. The report names each snapshot that lists a
|
||||
missing blob, since that snapshot cannot be restored. The command then exits
|
||||
non-zero. `--json` gives these in `missing_blob_count`, `missing_blob_size` and
|
||||
`snapshots_missing_blobs`.
|
||||
|
||||
- `--json`: Output as JSON
|
||||
|
||||
**`remote nuke`**: Delete every object under `metadata/` and `blobs/` on the
|
||||
|
||||
Reference in new issue
Block a user