Bug #45970
Updated by J. Eric Ivancich almost 4 years ago
If we reshard versioning bucket, bucket stats will contain extra information `rgw.none`. Before reshard: <pre> ``` "mtime": "2019-07-16T09:39:07.175539Z", "max_marker": "0#,1#,2#", "usage": { "rgw.main": { "size": 2, "size_actual": 4096, "size_utilized": 2, "size_kb": 1, "size_kb_actual": 4, "size_kb_utilized": 1, "num_objects": 1 } }, </pre> ``` After reshard: <pre> ``` "mtime": "2019-07-17T02:36:12.490795Z", "max_marker": "0#,1#,2#,3#,4#", "usage": { "rgw.none": { "size": 0, "size_actual": 0, "size_utilized": 0, "size_kb": 0, "size_kb_actual": 0, "size_kb_utilized": 0, "num_objects": 1 }, "rgw.main": { "size": 2, "size_actual": 4096, "size_utilized": 2, "size_kb": 1, "size_kb_actual": 4, "size_kb_utilized": 1, "num_objects": 1 } }, </pre> ``` Versioning bucket has idx like below and it's counted in stats while resharding bucket. <pre> ``` "type": "plain", "idx": "obj10", "entry": { "name": "obj10", "instance": "", "ver": { "pool": -1, "epoch": 0 }, "locator": "", "exists": "false", "meta": { "category": 0, "size": 0, "mtime": "0.000000", "etag": "", "storage_class": "", "owner": "", "owner_display_name": "", "content_type": "", "accounted_size": 0, "user_data": "", "appendable": "false" }, "tag": "", "flags": 8, "pending_map": [], "versioned_epoch": 0 } </pre> ```