ECS: How to enable a bucket lifecycle policy to handle the deletion of incomplete MPUs

摘要: ECS needs a life cycle policy enabled to automatically handle expired incomplete Multi-Part Uploads (MPUs).

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

How to enable automatic deletion of incomplete MPUs.

ECS is designed to handle MPU uploads for S3 data. The object is split into multiple parts and uploaded in parallel. When all parts are uploaded, the application sends a manifest that created the final object from all parts on the ECS.

By default, ECS does not enforce an expiry time between the first and final upload.
Parts that get uploaded but never united to an object (MPU aborted or no manifest sent) occupy space and never get cleaned up. 

Instructions

Upload the life cycle configuration. Either use the method described in the ECS Data Access Guide or another tool, like S3 Browser. Here is a life cycle policy to cancel old MPUs:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
 <Rule>
 <ID>lifecycle-v2-expire-non-current-and-dmarkers-and-mpu</ID>
 <Filter/>
 <Status>Enabled</Status>
 <AbortIncompleteMultipartUpload>
 <DaysAfterInitiation>1</DaysAfterInitiation>
 </AbortIncompleteMultipartUpload>
 </Rule>
</LifecycleConfiguration>

To upload a bucket life cycle using S3 Browser, connect to the bucket and use the following settings:
To upload a bucket life cycle using S3 Browser, connect to the bucket and use the following settings 
If incomplete MPUs exist before a life cycle policy with AbortIncompleteMultipartUpload is added, these will not be affected by the life cycle policy. ECS support must enable the Life cycle Delete Scanner (LDS) to apply the life cycle policy to existing objects. Open a Service Request if the LDS must be enabled on existing objects.

受影響的產品

Elastic Cloud Storage

產品

ECS Appliance, Elastic Cloud Storage
文章屬性
文章編號: 000022088
文章類型: How To
上次修改時間: 01 12月 2025
版本:  7
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。