I don't think you can exclude that.
We've build a notification in the customer panel that there are incomplete
multipart uploads which will be added as space to the bill. We also added a
button to create a LC policy for these objects.

Am Di., 11. Apr. 2023 um 19:07 Uhr schrieb <viplang...@gmail.com>:

> The radosgw-admin bucket stats show there are 209266 objects in this
> bucket, but it included failed multiparts, so that make the size parameter
> is also wrong. When I use boto3 to count objects, the bucket only has
> 209049 objects.
>
> The only solution I can find is to use lifecycle to clean these failed
> multiparts, but in production, the client will decide to use lifecycle or
> not?
> So are there any way to exclude the failed multiparts in bucket statistic?
> Does Ceph allow to set auto clean failed multiparts globally?
>
> Thanks!
>
>     "usage": {
>         "rgw.main": {
>             "size": 593286801276,
>             "size_actual": 593716080640,
>             "size_utilized": 593286801276,
>             "size_kb": 579381642,
>             "size_kb_actual": 579800860,
>             "size_kb_utilized": 579381642,
>             "num_objects": 209266
>         }
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
>


-- 
Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im
groüen Saal.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to