Project

General

Profile

Feature #41061

Add support for --bucket-id in radosgw-admin bucket stats command

Added by Vikhyat Umrao about 1 month ago. Updated 17 days ago.

Status:
Need Review
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/02/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Add support for `--bucket-id` in `radosgw-admin bucket stats` command. This will help when we know the bucket-id but not the bucket name. We do not have to run grep like this.

# radosgw-admin bucket stats | grep -B8 55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1
        "bucket": "mybucket1",
        "zonegroup": "e4460222-1aae-4c86-9c70-721cd9c13d86",
        "placement_rule": "default-placement",
        "explicit_placement": {
            "data_pool": "",
            "data_extra_pool": "",
            "index_pool": "" 
        },
        "id": "55c9e095-9d20-4a0f-91ef-35e786611b6f.927354.1",

History

#1 Updated by Vikhyat Umrao 28 days ago

  • Assignee set to Vikhyat Umrao

#2 Updated by Vikhyat Umrao 26 days ago

- This feature will help while troubleshooting Large OMAP objects issue because of bucket.instance objects. We can get the bucket id from bucket.instance.

2019-08-20 00:16:26.354331 osd.13 osd.13 192.168.42.218:6804/725336 469 : 
cluster [WRN] Large omap object found. Object: 
272:77fe05db:::.dir.7659bed4-dcd2-4616-95b3-4f7d971c6dd8.2907365.1:head 
Key count: 2401160 Size (bytes): 459802197

#3 Updated by Vikhyat Umrao 18 days ago

  • Status changed from New to In Progress

#4 Updated by Vikhyat Umrao 17 days ago

  • Status changed from In Progress to Need Review
  • Pull request ID set to 30024

Also available in: Atom PDF