Deleting Fragments
Scenarios
Fragments are the incomplete data in buckets. When data is uploaded to OBS using a multipart upload, there will be fragments generated if the multipart upload fails because of the following and other possible causes:
- Frequent disconnections from the OBS server due to poor network conditions
- Manual upload interruptions
- Device failures
- Sudden power outages
Fragments generated due to upload failures are stored in OBS. You can manually delete the fragments by following the instructions provided in this section. You can also continue the interrupted or failed multipart upload tasks to delete the fragments or configure a lifecycle rule to automatically delete the fragments periodically.
- If there are fragments left in your bucket, your attempt to delete the bucket will fail. In such case, delete all of the fragments first.
- The storage of fragments is billable. If expenditures are stilled generated even if there are no objects in your bucket, check whether there are fragments in it and delete them (if any).
Billing
You will be billed for storing fragments in OBS.
Ways to Delete Fragments
You can use OBS Console, APIs, SDKs, OBS Browser+, or obsutil to delete fragments.
Related Operations
Tool |
Operation Guide |
---|---|
OBS Browser+ |
On OBS Browser+, run the upload task that generates the fragments. Once it completes, fragments are cleared. For details, see Managing Failed Tasks and Managing Suspended Tasks. |
obsutil |
With obsutil, you can resume a failed upload based on its task ID recorded in the result list. After the upload is completed, the fragments will disappear. For details, see Resuming a Failed Upload. |
OBS SDKs |
OBS SDKs provide resumable upload by recording the upload progress. You can read the recorded progress and resume an interrupted or failed multipart upload. For details, see the section about resumable upload in the SDK Reference. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot