[ceph-users] Re: radosgw-admin bucket stats doesn't show real num_objects and size

2023-04-11 Thread Boris Behrens
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 :

> 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


[ceph-users] Re: radosgw-admin bucket stats doesn't show real num_objects and size

2023-04-11 Thread huyv nguyễn
Yeah, thanks for your suggestion

Vào Th 4, 12 thg 4, 2023 vào lúc 00:10 Boris Behrens  đã
viết:

> 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 :
>
> > 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
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io