You can use a DELETE request with the UploadID query argument to cancel an in-progress multipart write. This method enables the Health Processor to delete any completed or in-progress parts. Canceling a multipart write will not terminate any part uploads still in progress.
...
Info | ||
---|---|---|
| ||
If you fail to include the UploadID on the abort deletion for an object that previously existed in the cluster, Swarm will attempt to delete the original object. You must include the uploadId query argument to ensure only the multipart write operation is deleted. |
...
- Success: When the cancel is completed, Swarm returns a
200 OK
code. - Failure: Any failure to write one of theĀ parts triggers an immediate upload cancellation. The upload is cleaned up and will be retried as a whole at a later point in time.