Let prune delete old .partial uploads and remote info count them (closes #466) #474
@@ -344,7 +344,7 @@ The prune operation is safe because:
|
|||||||
a backup reuses from an earlier run that stopped before its manifest: the
|
a backup reuses from an earlier run that stopped before its manifest: the
|
||||||
backup skips the upload of a blob already on the destination, so that blob
|
backup skips the upload of a blob already on the destination, so that blob
|
||||||
keeps the time of its first upload, and a prune before the backup's manifest
|
keeps the time of its first upload, and a prune before the backup's manifest
|
||||||
is written can delete it; the new snapshot then cannot be restored. It
|
is written can delete it; the new snapshot then cannot be restored. Prune
|
||||||
deletes a `.partial` object only once it is older than `prune_grace_period`,
|
deletes a `.partial` object only once it is older than `prune_grace_period`,
|
||||||
so an upload still running keeps its object. `remote nuke` has no such check
|
so an upload still running keeps its object. `remote nuke` has no such check
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user