remove_incomplete_uploads
Abort abandoned multipart uploads in MinIO to reclaim storage, targeting only those older than a configurable threshold, with dry-run preview for safety.
Instructions
[WRITE][risk=medium] Abort abandoned multipart uploads (reclaims their parts).
priorState records the count and a sample; the parts themselves are unrecoverable once aborted — no undo. Only uploads at least older_than_days old are touched (default 7), protecting in-flight uploads.
Args: bucket_name: Bucket name (from bucket_ls). older_than_days: Only abort uploads at least this old (0 = all). dry_run: If True, preview the matching uploads without aborting. target: MinIO target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| bucket_name | Yes | ||
| older_than_days | No |