Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: rgw: resharding of a versioned bucket causes a bucket stats discrepancy #28249

merged 2 commits into from Jul 8, 2019


Copy link

pdvian commented May 27, 2019

ivancich added 2 commits Nov 29, 2018
When a versioned bucket is resharded, the stats for bucket index
entries of type PlainIdx and InstanceIdx were both accumulated to
determine the bucket stats. This caused a doubling of some stats, such
as bytes used. This fix makes certain that only PlainIdx entries are
accumulated. This works for unversioned buckets as well, as they only
have Plain Idx entries.

Signed-off-by: J. Eric Ivancich <>
(cherry picked from commit 6379ec6)
Signed-off-by: J. Eric Ivancich <>
(cherry picked from commit 06fcac3)
@tchaikov tchaikov added this to the mimic milestone May 27, 2019
@smithfarm smithfarm requested a review from cbodley May 28, 2019

This comment has been minimized.

Copy link

yuriw commented Jul 1, 2019

@yuriw yuriw merged commit 39b5e12 into ceph:mimic Jul 8, 2019
4 checks passed
4 checks passed
Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
6 participants
You can’t perform that action at this time.