Let prune delete old .partial uploads and remote info count them (closes #466) #474

Merged
clawbot merged 7 commits from issue-466-prune-partial-uploads into next 2026-11-19 14:01:04 +01:00
Showing only changes of commit 18961fa52f - Show all commits
+1 -1
View File
@@ -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