Skip to content

rgw: fix 'bucket stats' when bucket index doesn't exist - #67189

Merged
cbodley merged 4 commits into
ceph:mainfrom
cbodley:wip-74231
Apr 20, 2026
Merged

cbodley merged 4 commits into
ceph:mainfrom
cbodley:wip-74231

Conversation

@cbodley

@cbodley cbodley commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

the 'bucket stats' command is overloaded to display both usage stats and lots of general bucket info. we can't fetch usage stats from buckets that don't have a local bucket index (either because they're indexless, or reside on a different zonegroup) - but we should still dump the other info

Fixes: https://tracker.ceph.com/issues/74231

Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

buckets that reside in other zonegroups probably don't have a local
bucket index, so we should avoid trying to read stats from them

Fixes: https://tracker.ceph.com/issues/74231

Signed-off-by: Casey Bodley <[email protected]>
@cbodley
cbodley requested a review from a team as a code owner February 3, 2026 17:01
@github-actions github-actions Bot added the rgw label Feb 3, 2026
@cbodley cbodley added the bug-fix label Feb 3, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test api

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

@adamemerson adamemerson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@BBoozmen BBoozmen added the wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh label Apr 15, 2026
@anrao19

anrao19 commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Pr testing completed and approved by @ivancich, More details in : https://tracker.ceph.com/issues/76032.
@cbodley , if no further testing needed we can merge this pr

@cbodley
cbodley merged commit cf0bbda into ceph:main Apr 20, 2026
6 of 7 checks passed
@cbodley
cbodley deleted the wip-74231 branch April 20, 2026 19:25
@BBoozmen BBoozmen removed the wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants