Lifecycle policy completed but not done

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cephs!

 

Yesterday we setup a Lifecycle policy for remote all incomplete partial uploads in the buckets, due this make mistakes between Used space showed in tools and bucket stats from ceph.

 

We setup this policy (s3cmd setlifecycle rule.xml s3://GIB --no-ssl)

 

<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">

  <Rule>

    <ID>Expire old logs</ID>

    <Prefix>logs/</Prefix>

    <Status>Enabled</Status>

    <Expiration>

      <Days>90</Days>

    </Expiration>

  </Rule>

 

  <Rule>

    <ID>Remove uncompleted uploads</ID>

    <Status>Enabled</Status>

    <Prefix/>

    <AbortIncompleteMultipartUpload>

      <DaysAfterInitiation>1</DaysAfterInitiation>

    </AbortIncompleteMultipartUpload>

  </Rule>

</LifecycleConfiguration>

 

And waited until 22:00 PM for the new cycle of lifecycle.

 

Them we checked this morning, and looks like completed.

 

[root@CEPH-ADMIN home]# radosgw-admin lc list

[

    {

        "bucket": ":ControlGroup:48efb8c3-693c-4fe0-bbe4-fdc16f590a82.3886182.8",

        "status": "COMPLETE"

    },

    {

        "bucket": ":GIB:48efb8c3-693c-4fe0-bbe4-fdc16f590a82.3886182.17",

        "status": "COMPLETE"

    }

]

 

 

But after s3cmd multipart s3://GIB --no-ssl –continue we saw thousands of incompleted uploads like:

 

2019-01-25T20:04:15.559Z        s3://GIB/MBS-f1454908-2af7-4a8b-8b46-7d6d6e86adba/CBB_SERVER/CBB_DiskImage/Disk_00000000-0000-0000-0000-000000000002/Volume_NTFS_00000000-0000-0000-0000-000000000000:/20190125200230/3.cbrevision      2~unJtWv-x9xrPjb2GSOe32PVT0QQ3QGw

2019-01-25T20:53:43.183Z        s3://GIB/MBS-f1454908-2af7-4a8b-8b46-7d6d6e86adba/CBB_SERVER/CBB_DiskImage/Disk_00000000-0000-0000-0000-000000000002/Volume_NTFS_00000000-0000-0000-0000-000000000000:/20190125200230/3.cbrevision      2~yV_enUnhb6ch8GiDUIGCsgaon2Z9dyi

 

Is there any limit per cycle for cancel the partial uploads?

 

Regards

 

Manuel

 

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux