Let prune delete old .partial uploads and remote info count them (closes #466)
check / check (push) Waiting to run
check / check (push) Waiting to run
A killed upload leaves a `.partial` object that only remote nuke removed, and that remote info never showed. The storage interface's DeletePartialUploads becomes ListPartialUploads, which returns each such object's key, size and time; Delete removes it. prune deletes those under metadata/ and blobs/ once older than prune_grace_period, and reports kept, deleted and failed counts. remote info counts them on their own line and in --json. remote nuke lists and deletes them like any other object, and now names any it could not delete. Model: opus-5-5
This commit is contained in:
1 parent
d747ddef3a
commit
52fada5236
19 files changed
+570
-205
No files matched your search
@@ -314,6 +314,9 @@ The restore process doesn't use the local database. Instead:
|
||||
- Delete each directory under `metadata/` that has no `manifest.json.zst`
|
||||
and no local snapshot record, once every object in it is older than
|
||||
`prune_grace_period`
|
||||
3. **Delete Partial Uploads**
|
||||
- Delete each `.partial` object a killed upload left under `metadata/` or
|
||||
`blobs/`, once it is older than `prune_grace_period`
|
||||
|
||||
### 6. Incomplete Snapshot Cleanup
|
||||
|
||||
|
||||
Reference in new issue
Block a user