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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to