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
@@ -75,7 +75,9 @@ func newRemoteInfoCommand() *cobra.Command {
|
||||
- Size of all snapshot metadata (per snapshot and total)
|
||||
- Count and total size of all blobs
|
||||
- Count and size of referenced blobs (from all manifests)
|
||||
- Count and size of orphaned blobs (not referenced by any manifest)`,
|
||||
- Count and size of orphaned blobs (not referenced by any manifest)
|
||||
- Count and size of referenced blobs missing from remote storage, and the
|
||||
snapshots that list them; the command exits non-zero when any are missing`,
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, _ []string) error {
|
||||
// Use unified config resolution
|
||||
|
||||
Reference in new issue
Block a user