radosgw-admin bucket stats doesn't show real num_objects and size

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

 



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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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